@ningboyz/apis 1.3.175 → 1.3.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/packages/japz/item.ts +5 -5
- package/packages/japz/types.ts +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.177",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "宁波甬政请求库",
|
|
6
6
|
"author": "nbyt-syq",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"registry": "https://registry.npmjs.org/"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ningboyz/types": "1.3.
|
|
20
|
+
"@ningboyz/types": "1.3.177",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/japz/item.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
2
|
import { TJapz } from "@ningboyz/types";
|
|
3
|
-
import { IJapzItemDeletedbQuerys, IJapzItemDetailQuerys,
|
|
3
|
+
import { IJapzItemCheckrgQuerys, IJapzItemDeletedbQuerys, IJapzItemDetailQuerys, IJapzItemInsertdbQuerys, IJapzItemSelectdbQuerys, IJapzItemUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class ItemRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -20,10 +20,6 @@ class ItemRequest {
|
|
|
20
20
|
return this.httpRequest.post<TJapz.IJapzItemResponse[]>("/gapi/japz/titem/updatedb", querys, params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
checkrg(querys: IJapzItemCheckrgQuerys, params: object) {
|
|
24
|
-
return this.httpRequest.post<TJapz.IJapzItemResponse[]>("/gapi/japz/titem/checkrg", querys, params);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
23
|
detaildb(querys: IJapzItemDetailQuerys) {
|
|
28
24
|
return this.httpRequest.post<TJapz.IJapzItemResponse[]>("/gapi/japz/titem/detaildb", querys, undefined);
|
|
29
25
|
}
|
|
@@ -31,6 +27,10 @@ class ItemRequest {
|
|
|
31
27
|
deletedb(querys: IJapzItemDeletedbQuerys, params: object) {
|
|
32
28
|
return this.httpRequest.post<TJapz.IJapzItemResponse[]>("/gapi/japz/titem/deletedb", querys, params);
|
|
33
29
|
}
|
|
30
|
+
|
|
31
|
+
checkrg(querys: IJapzItemCheckrgQuerys, params: object) {
|
|
32
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/titem/checkrg", querys, params);
|
|
33
|
+
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export default ItemRequest;
|
package/packages/japz/types.ts
CHANGED
|
@@ -86,26 +86,26 @@ export class TJapzItemUpdatedbQuerys implements IJapzItemUpdatedbQuerys {
|
|
|
86
86
|
sourceid: number = -1;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export interface
|
|
89
|
+
export interface IJapzItemDeletedbQuerys {
|
|
90
90
|
sourcend: number;
|
|
91
91
|
sourceid: number;
|
|
92
|
-
itemindx: number;
|
|
93
92
|
}
|
|
94
93
|
|
|
95
|
-
export class
|
|
94
|
+
export class TJapzItemDeletedbQuerys implements IJapzItemDeletedbQuerys {
|
|
96
95
|
sourcend: number = -1;
|
|
97
96
|
sourceid: number = -1;
|
|
98
|
-
itemindx: number = -1;
|
|
99
97
|
}
|
|
100
98
|
|
|
101
|
-
export interface
|
|
99
|
+
export interface IJapzItemCheckrgQuerys {
|
|
102
100
|
sourcend: number;
|
|
103
101
|
sourceid: number;
|
|
102
|
+
itemindx: number;
|
|
104
103
|
}
|
|
105
104
|
|
|
106
|
-
export class
|
|
105
|
+
export class TJapzItemCheckrgQuerys implements IJapzItemCheckrgQuerys {
|
|
107
106
|
sourcend: number = -1;
|
|
108
107
|
sourceid: number = -1;
|
|
108
|
+
itemindx: number = -1;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
//#K0km
|