@ningboyz/apis 1.7.61 → 1.7.63
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.63",
|
|
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.63",
|
|
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 {}
|