@ningboyz/apis 1.3.174 → 1.3.176
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.176",
|
|
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.176",
|
|
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 { IJapzItemCheckrgQuerys, IJapzItemDeletedbQuerys, IJapzItemDetailQuerys, IJapzItemInsertdbQuerys, IJapzItemSelectdbQuerys, IJapzItemUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class ItemRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -27,6 +27,10 @@ class ItemRequest {
|
|
|
27
27
|
deletedb(querys: IJapzItemDeletedbQuerys, params: object) {
|
|
28
28
|
return this.httpRequest.post<TJapz.IJapzItemResponse[]>("/gapi/japz/titem/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
|
+
|
|
31
|
+
checkrg(querys: IJapzItemCheckrgQuerys, params: object) {
|
|
32
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/titem/checkrg", querys, params);
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
export default ItemRequest;
|
package/packages/japz/types.ts
CHANGED
|
@@ -96,6 +96,18 @@ export class TJapzItemDeletedbQuerys implements IJapzItemDeletedbQuerys {
|
|
|
96
96
|
sourceid: number = -1;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
export interface IJapzItemCheckrgQuerys {
|
|
100
|
+
sourcend: number;
|
|
101
|
+
sourceid: number;
|
|
102
|
+
itemindx: number;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export class TJapzItemCheckrgQuerys implements IJapzItemCheckrgQuerys {
|
|
106
|
+
sourcend: number = -1;
|
|
107
|
+
sourceid: number = -1;
|
|
108
|
+
itemindx: number = -1;
|
|
109
|
+
}
|
|
110
|
+
|
|
99
111
|
//#K0km
|
|
100
112
|
export interface IJapzK0kmSelectdbQuerys {
|
|
101
113
|
sourcend: number;
|