@ningboyz/apis 1.6.159 → 1.6.160
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 +12 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.160",
|
|
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.160",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -589,6 +589,14 @@ export interface ICoreDel4laidQuerys {}
|
|
|
589
589
|
|
|
590
590
|
export class TCoreDel4laidQuerys implements ICoreDel4laidQuerys {}
|
|
591
591
|
|
|
592
|
+
export interface ICoreEdt4laidQuerys {
|
|
593
|
+
taketype: number;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export class TCoreEdt4laidQuerys implements ICoreEdt4laidQuerys {
|
|
597
|
+
taketype: number = 0;
|
|
598
|
+
}
|
|
599
|
+
|
|
592
600
|
export interface ICoreDel4deptQuerys {}
|
|
593
601
|
|
|
594
602
|
export class TCoreDel4deptQuerys implements ICoreDel4deptQuerys {}
|
package/packages/core/user.ts
CHANGED
|
@@ -57,7 +57,8 @@ import {
|
|
|
57
57
|
ICoreDel4gzjgQuerys,
|
|
58
58
|
ICoreSet4gzjgQuerys,
|
|
59
59
|
ICoreUserSet4WlzfQuerys,
|
|
60
|
-
ICoreUserDel4WlzfQuerys
|
|
60
|
+
ICoreUserDel4WlzfQuerys,
|
|
61
|
+
ICoreEdt4laidQuerys
|
|
61
62
|
} from "./types";
|
|
62
63
|
|
|
63
64
|
class UserRequest {
|
|
@@ -243,6 +244,16 @@ class UserRequest {
|
|
|
243
244
|
return this.httpRequest.post<TCore.IPartResponse[]>("/core/tuser/usrpartc/del4laid", querys, params);
|
|
244
245
|
}
|
|
245
246
|
|
|
247
|
+
/**
|
|
248
|
+
* 编辑地点权限
|
|
249
|
+
* @param querys
|
|
250
|
+
* @param params
|
|
251
|
+
* @returns
|
|
252
|
+
*/
|
|
253
|
+
usrpartcEdi4laid(querys: ICoreEdt4laidQuerys, params: object) {
|
|
254
|
+
return this.httpRequest.post<TCore.IPartResponse[]>("/core/tuser/usrpartc/edt4laid", querys, params);
|
|
255
|
+
}
|
|
256
|
+
|
|
246
257
|
/**
|
|
247
258
|
* 新增部门权限
|
|
248
259
|
* @param params
|