@ningboyz/apis 1.4.91 → 1.4.92

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.4.91",
3
+ "version": "1.4.92",
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.4.91",
20
+ "@ningboyz/types": "1.4.92",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -668,6 +668,17 @@ export class TCoreUserSelectdbTokenusrHeaders implements ICoreUserSelectdbTokenu
668
668
  usrtoken: string = "";
669
669
  }
670
670
 
671
+
672
+ export interface ICoreUserSelectdbWithflow {
673
+ usrpartc: string;
674
+ deptmain: number;
675
+ }
676
+
677
+ export class TCoreUserSelectdbWithflow implements ICoreUserSelectdbWithflow {
678
+ usrpartc: string = "";
679
+ deptmain: number = -1;
680
+ }
681
+
671
682
  export interface ICoreUserCaptcha1Querys {
672
683
  fp: string;
673
684
  }
@@ -24,6 +24,7 @@ import {
24
24
  ICoreUserScanloginQuerys,
25
25
  ICoreUserSelectdbCamelcaseQuerys,
26
26
  ICoreUserSelectdbTokenusrHeaders,
27
+ ICoreUserSelectdbWithflow,
27
28
  ICoreUserSendMessag2Querys,
28
29
  ICoreUserSendMessageQuerys,
29
30
  ICoreUserSourcendSet4kjndQuerys,
@@ -435,6 +436,15 @@ class UserRequest {
435
436
  return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/tokenusr", undefined, undefined, headers);
436
437
  }
437
438
 
439
+ /**
440
+ * 通过角色和权限部门获取用户
441
+ * @param headers
442
+ * @returns
443
+ */
444
+ selectdbWithflow(querys: ICoreUserSelectdbWithflow) {
445
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectdb/withflow", querys, undefined, );
446
+ }
447
+
438
448
  /**
439
449
  * 用户管理关联资产登记
440
450
  * @param params