@ningboyz/apis 1.6.160 → 1.6.162
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/core/types.ts +8 -0
- package/packages/core/user.ts +21 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.162",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.162",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -569,6 +569,14 @@ export class TCoreUserGet4WlzfQuerys implements ICoreUserGet4WlzfQuerys {
|
|
|
569
569
|
sourcedw: string = "";
|
|
570
570
|
}
|
|
571
571
|
|
|
572
|
+
export interface ICoreSet4DictQuerys {}
|
|
573
|
+
|
|
574
|
+
export class TCoreSet4DictQuerys implements ICoreSet4DictQuerys {}
|
|
575
|
+
|
|
576
|
+
export interface ICoreDel4DictQuerys {}
|
|
577
|
+
|
|
578
|
+
export class TCoreDel4DictQuerys implements ICoreDel4DictQuerys {}
|
|
579
|
+
|
|
572
580
|
export interface ICoreUserSet4WlzfQuerys {}
|
|
573
581
|
|
|
574
582
|
export class TCoreUserSet4WlzfQuerys implements ICoreUserSet4WlzfQuerys {}
|
package/packages/core/user.ts
CHANGED
|
@@ -58,7 +58,9 @@ import {
|
|
|
58
58
|
ICoreSet4gzjgQuerys,
|
|
59
59
|
ICoreUserSet4WlzfQuerys,
|
|
60
60
|
ICoreUserDel4WlzfQuerys,
|
|
61
|
-
ICoreEdt4laidQuerys
|
|
61
|
+
ICoreEdt4laidQuerys,
|
|
62
|
+
ICoreSet4DictQuerys,
|
|
63
|
+
ICoreDel4DictQuerys
|
|
62
64
|
} from "./types";
|
|
63
65
|
|
|
64
66
|
class UserRequest {
|
|
@@ -292,6 +294,24 @@ class UserRequest {
|
|
|
292
294
|
return this.httpRequest.post<TCore.IPartResponse[]>("/core/tuser/usrpartc/del4gzjg", querys, params);
|
|
293
295
|
}
|
|
294
296
|
|
|
297
|
+
/**
|
|
298
|
+
* 设置字典
|
|
299
|
+
* @param querys
|
|
300
|
+
* @returns
|
|
301
|
+
*/
|
|
302
|
+
usrpartcSet4dict(querys: ICoreSet4DictQuerys, params: object) {
|
|
303
|
+
return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/core/tuser/usrpartc/set4dict", querys, params);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* 删除字典
|
|
308
|
+
* @param querys
|
|
309
|
+
* @returns
|
|
310
|
+
*/
|
|
311
|
+
usrpartcDel4dict(querys: ICoreDel4DictQuerys, params: object) {
|
|
312
|
+
return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/core/tuser/usrpartc/del4dict", querys, params);
|
|
313
|
+
}
|
|
314
|
+
|
|
295
315
|
/**
|
|
296
316
|
* 获取支付环境
|
|
297
317
|
* @param querys
|