@ningboyz/apis 1.3.174 → 1.3.175
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 -1
- package/packages/japz/types.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.175",
|
|
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.175",
|
|
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, IJapzItemInsertdbQuerys, IJapzItemSelectdbQuerys, IJapzItemUpdatedbQuerys } from "./types";
|
|
3
|
+
import { IJapzItemDeletedbQuerys, IJapzItemDetailQuerys, IJapzItemCheckrgQuerys, IJapzItemInsertdbQuerys, IJapzItemSelectdbQuerys, IJapzItemUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class ItemRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -20,6 +20,10 @@ 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
|
+
|
|
23
27
|
detaildb(querys: IJapzItemDetailQuerys) {
|
|
24
28
|
return this.httpRequest.post<TJapz.IJapzItemResponse[]>("/gapi/japz/titem/detaildb", querys, undefined);
|
|
25
29
|
}
|
package/packages/japz/types.ts
CHANGED
|
@@ -86,6 +86,18 @@ export class TJapzItemUpdatedbQuerys implements IJapzItemUpdatedbQuerys {
|
|
|
86
86
|
sourceid: number = -1;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
export interface IJapzItemCheckrgQuerys {
|
|
90
|
+
sourcend: number;
|
|
91
|
+
sourceid: number;
|
|
92
|
+
itemindx: number;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class TJapzItemCheckrgQuerys implements IJapzItemCheckrgQuerys {
|
|
96
|
+
sourcend: number = -1;
|
|
97
|
+
sourceid: number = -1;
|
|
98
|
+
itemindx: number = -1;
|
|
99
|
+
}
|
|
100
|
+
|
|
89
101
|
export interface IJapzItemDeletedbQuerys {
|
|
90
102
|
sourcend: number;
|
|
91
103
|
sourceid: number;
|