@ningboyz/apis 1.5.172 → 1.5.173

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.5.172",
3
+ "version": "1.5.173",
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.5.172",
20
+ "@ningboyz/types": "1.5.173",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1017,3 +1017,10 @@ export class TCoreUserUpdateonQuerys implements ICoreUserUpdateonQuerys {
1017
1017
  usermain: number = -1;
1018
1018
  updateon: number = -1;
1019
1019
  }
1020
+
1021
+ export interface ICoreUserGet4UnitQuerys {
1022
+ usrpartc: number;
1023
+ }
1024
+ export class TCoreUserGet4UnitQuerys implements ICoreUserGet4UnitQuerys {
1025
+ usrpartc: number = -1;
1026
+ }
@@ -44,7 +44,8 @@ import {
44
44
  ICoreUserSelectd2Querys,
45
45
  ICoreUserDetaild2Querys,
46
46
  ICoreUserUpdatedbStatQuerys,
47
- ICoreUserUpdateonQuerys
47
+ ICoreUserUpdateonQuerys,
48
+ ICoreUserGet4UnitQuerys
48
49
  } from "./types";
49
50
 
50
51
  class UserRequest {
@@ -259,10 +260,11 @@ class UserRequest {
259
260
 
260
261
  /**
261
262
  * 获取用户权限范围内的单位
263
+ * usrpartc:根据角色二次筛选
262
264
  * @returns
263
265
  */
264
- get4unit() {
265
- return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tuser/get4unit");
266
+ get4unit(querys: ICoreUserGet4UnitQuerys) {
267
+ return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tuser/get4unit", querys, undefined);
266
268
  }
267
269
 
268
270
  /**