@ningboyz/apis 1.4.10 → 1.4.11
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 +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.11",
|
|
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.11",
|
|
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
|
@@ -130,16 +130,14 @@ export class TJapzItemCheckk9Querys implements IJapzItemCheckk9Querys {
|
|
|
130
130
|
itemindx: number = -1;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export interface
|
|
133
|
+
export interface IJapzItemUploadk9kmQuerys {
|
|
134
134
|
sourcend: number;
|
|
135
135
|
sourceid: number;
|
|
136
|
-
itemindx: number;
|
|
137
136
|
}
|
|
138
137
|
|
|
139
|
-
export class
|
|
138
|
+
export class TJapzItemUploadk9kmQuerys implements IJapzItemUploadk9kmQuerys {
|
|
140
139
|
sourcend: number = -1;
|
|
141
140
|
sourceid: number = -1;
|
|
142
|
-
itemindx: number = -1;
|
|
143
141
|
}
|
|
144
142
|
|
|
145
143
|
//#K0km
|