@ningboyz/apis 1.7.60 → 1.7.62
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/gzzd/main.ts +7 -1
- package/packages/gzzd/types.ts +4 -0
- package/packages/japz/k7km.ts +5 -1
- package/packages/japz/types.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.62",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.62",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gzzd/main.ts
CHANGED
|
@@ -17,7 +17,8 @@ import {
|
|
|
17
17
|
IGzzdMainDel4userQuerys,
|
|
18
18
|
IGzzdMainGet4userQuerys,
|
|
19
19
|
IGzzdMainUpdatedbAcnoQuerys,
|
|
20
|
-
IGzzdMainStopUpdateDbAcnoQuerys
|
|
20
|
+
IGzzdMainStopUpdateDbAcnoQuerys,
|
|
21
|
+
IGzzdMainGet4pzActivityQuerys
|
|
21
22
|
} from "./types";
|
|
22
23
|
|
|
23
24
|
class ParaRequest {
|
|
@@ -220,6 +221,11 @@ class ParaRequest {
|
|
|
220
221
|
stopUpdateDbAcno(querys: IGzzdMainStopUpdateDbAcnoQuerys, params: object) {
|
|
221
222
|
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/acnomain/deletedb", querys, params);
|
|
222
223
|
}
|
|
224
|
+
|
|
225
|
+
/**获取最新期间 */
|
|
226
|
+
get4pzActivity(querys: IGzzdMainGet4pzActivityQuerys) {
|
|
227
|
+
return this.httpRequest.post<TGzzd.IGzzdP4PZResponse[]>("/gapi/gzzd/tp4pz/activity", querys, undefined);
|
|
228
|
+
}
|
|
223
229
|
}
|
|
224
230
|
|
|
225
231
|
export default ParaRequest;
|
package/packages/gzzd/types.ts
CHANGED
|
@@ -154,3 +154,7 @@ export interface IGzzdMainStopUpdateDbAcnoQuerys {
|
|
|
154
154
|
export class TGzzdMainStopUpdateDbAcnoQuerys implements IGzzdMainStopUpdateDbAcnoQuerys {
|
|
155
155
|
usermain: number = -1;
|
|
156
156
|
}
|
|
157
|
+
|
|
158
|
+
export interface IGzzdMainGet4pzActivityQuerys {}
|
|
159
|
+
|
|
160
|
+
export class TGzzdMainGet4pzActivityQuerys implements IGzzdMainGet4pzActivityQuerys {}
|
package/packages/japz/k7km.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzK7kmDeletedbQuerys, IJapzK7kmDetailQuerys, IJapzK7kmInsertdbQuerys, IJapzK7kmSelectdbQuerys, IJapzK7kmUpdatedbQuerys, IJapzK7kmUploadd2Querys, IJapzK7kmUploaddbQuerys } from "./types";
|
|
2
|
+
import { IJapzK7kmDeletedbQuerys, IJapzK7kmDetailQuerys, IJapzK7kmInsertdbQuerys, IJapzK7kmSelectdbQuerys, IJapzK7kmUpdatedbQuerys, IJapzK7kmUploadd2Querys, IJapzK7kmUploadd3Querys, IJapzK7kmUploaddbQuerys } from "./types";
|
|
3
3
|
import { TJapz } from "@ningboyz/types";
|
|
4
4
|
|
|
5
5
|
class K7kmRequest {
|
|
@@ -35,6 +35,10 @@ class K7kmRequest {
|
|
|
35
35
|
uploadd2(querys: IJapzK7kmUploadd2Querys, params: object) {
|
|
36
36
|
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/uploaditem", querys, params);
|
|
37
37
|
}
|
|
38
|
+
|
|
39
|
+
uploadplan(querys: IJapzK7kmUploadd3Querys, params: object) {
|
|
40
|
+
return this.httpRequest.post<TJapz.IJapzK7kmPlanResponse[]>("/gapi/japz/tk7km/uploadplan", querys, params);
|
|
41
|
+
}
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
export default K7kmRequest;
|
package/packages/japz/types.ts
CHANGED
|
@@ -291,6 +291,20 @@ export class TJapzK7kmUploadd2Querys implements IJapzK7kmUploadd2Querys {
|
|
|
291
291
|
sourceid: number = -1;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
+
export interface IJapzK7kmUploadd3Querys {
|
|
295
|
+
whobuild: number;
|
|
296
|
+
userindx: number;
|
|
297
|
+
sourcend: number;
|
|
298
|
+
sourceid: number;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export class TJapzK7kmUploadd3Querys implements IJapzK7kmUploadd3Querys {
|
|
302
|
+
whobuild: number = -1;
|
|
303
|
+
userindx: number = -1;
|
|
304
|
+
sourcend: number = -1;
|
|
305
|
+
sourceid: number = -1;
|
|
306
|
+
}
|
|
307
|
+
|
|
294
308
|
export interface IJapzK7kmDeletedbQuerys {
|
|
295
309
|
sourcend: number;
|
|
296
310
|
sourceid: number;
|