@ningboyz/apis 1.7.44 → 1.7.45
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 +24 -2
- package/packages/gzzd/types.ts +20 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.45",
|
|
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.45",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gzzd/main.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {TCore, TGzjg, TGzzd} from "@ningboyz/types";
|
|
1
|
+
import { TCore, TGzjg, TGzzd } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
4
|
IGzzdMainDetaildbQuerys,
|
|
@@ -15,7 +15,9 @@ import {
|
|
|
15
15
|
TGzzdMainDetaild2Querys,
|
|
16
16
|
IGzzdMainSet4userQuerys,
|
|
17
17
|
IGzzdMainDel4userQuerys,
|
|
18
|
-
IGzzdMainGet4userQuerys
|
|
18
|
+
IGzzdMainGet4userQuerys,
|
|
19
|
+
IGzzdMainUpdatedbAcnoQuerys,
|
|
20
|
+
IGzzdMainStopUpdateDbAcnoQuerys
|
|
19
21
|
} from "./types";
|
|
20
22
|
|
|
21
23
|
class ParaRequest {
|
|
@@ -198,6 +200,26 @@ class ParaRequest {
|
|
|
198
200
|
get4user(querys: IGzzdMainGet4userQuerys, params: object) {
|
|
199
201
|
return this.httpRequest.post<TCore.IUserResponse[]>("/gapi/gzzd/tmain/get4user", querys, params);
|
|
200
202
|
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* 更新银行账号
|
|
206
|
+
* @param querys
|
|
207
|
+
* @param params
|
|
208
|
+
* @returns
|
|
209
|
+
*/
|
|
210
|
+
updatedbAcno(querys: IGzzdMainUpdatedbAcnoQuerys, params: object) {
|
|
211
|
+
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/acnomain/updatedb", querys, params);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* 停用银行账号
|
|
216
|
+
* @param querys
|
|
217
|
+
* @param params
|
|
218
|
+
* @returns
|
|
219
|
+
*/
|
|
220
|
+
stopUpdateDbAcno(querys: IGzzdMainStopUpdateDbAcnoQuerys, params: object) {
|
|
221
|
+
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/acnomain/deletedb", querys, params);
|
|
222
|
+
}
|
|
201
223
|
}
|
|
202
224
|
|
|
203
225
|
export default ParaRequest;
|
package/packages/gzzd/types.ts
CHANGED
|
@@ -68,11 +68,9 @@ export class TGzzdMainWithgzjgQuerys implements IGzzdMainWithgzjgQuerys {
|
|
|
68
68
|
acnotype: number = -1;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export interface IGzzdMainGet2formulaQuerys {
|
|
72
|
-
}
|
|
71
|
+
export interface IGzzdMainGet2formulaQuerys {}
|
|
73
72
|
|
|
74
|
-
export class TGzzdMainGet2formulaQuerys implements IGzzdMainGet2formulaQuerys {
|
|
75
|
-
}
|
|
73
|
+
export class TGzzdMainGet2formulaQuerys implements IGzzdMainGet2formulaQuerys {}
|
|
76
74
|
|
|
77
75
|
export interface IGzzdMainGet4gzlmQuerys {
|
|
78
76
|
gzzdmain: number;
|
|
@@ -138,3 +136,21 @@ export interface IGzzdMainGet5BillWithZwlxQuerys {
|
|
|
138
136
|
export class TGzzdMainGet5BillWithZwlxQuerys implements IGzzdMainGet5BillWithZwlxQuerys {
|
|
139
137
|
gzzdmain: number = -1;
|
|
140
138
|
}
|
|
139
|
+
|
|
140
|
+
export interface IGzzdMainUpdatedbAcnoQuerys {
|
|
141
|
+
usermain: number;
|
|
142
|
+
gzzdstat: number;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export class TGzzdMainUpdatedbAcnoQuerys implements IGzzdMainUpdatedbAcnoQuerys {
|
|
146
|
+
usermain: number = -1;
|
|
147
|
+
gzzdstat: number = -1;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export interface IGzzdMainStopUpdateDbAcnoQuerys {
|
|
151
|
+
usermain: number;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export class TGzzdMainStopUpdateDbAcnoQuerys implements IGzzdMainStopUpdateDbAcnoQuerys {
|
|
155
|
+
usermain: number = -1;
|
|
156
|
+
}
|