@ningboyz/apis 1.4.10 → 1.4.12
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 -0
- package/packages/japz/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.12",
|
|
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.4.
|
|
20
|
+
"@ningboyz/types": "1.4.12",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/japz/item.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
IJapzItemSelectdbQuerys,
|
|
10
10
|
IJapzItemUpdatedbQuerys,
|
|
11
11
|
IJapzItemUploaddbQuerys,
|
|
12
|
+
IJapzItemUploadk9kmQuerys,
|
|
12
13
|
IJapzItemUploadk9Querys
|
|
13
14
|
} from "./types";
|
|
14
15
|
|
|
@@ -53,6 +54,10 @@ class ItemRequest {
|
|
|
53
54
|
uploadk9(querys: IJapzItemUploadk9Querys, params: object) {
|
|
54
55
|
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/titem/uploadk9", querys, params);
|
|
55
56
|
}
|
|
57
|
+
|
|
58
|
+
uploadk9km(querys: IJapzItemUploadk9kmQuerys, params: object) {
|
|
59
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/titem/uploadk9km", querys, params);
|
|
60
|
+
}
|
|
56
61
|
}
|
|
57
62
|
|
|
58
63
|
export default ItemRequest;
|
package/packages/japz/types.ts
CHANGED
|
@@ -142,6 +142,16 @@ export class TJapzItemUploadk9Querys implements IJapzItemUploadk9Querys {
|
|
|
142
142
|
itemindx: number = -1;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
export interface IJapzItemUploadk9kmQuerys {
|
|
146
|
+
sourcend: number;
|
|
147
|
+
sourceid: number;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export class TJapzItemUploadk9kmQuerys implements IJapzItemUploadk9kmQuerys {
|
|
151
|
+
sourcend: number = -1;
|
|
152
|
+
sourceid: number = -1;
|
|
153
|
+
}
|
|
154
|
+
|
|
145
155
|
//#K0km
|
|
146
156
|
export interface IJapzK0kmSelectdbQuerys {
|
|
147
157
|
sourcend: number;
|