@ningboyz/apis 1.5.161 → 1.5.163

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.161",
3
+ "version": "1.5.163",
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.161",
20
+ "@ningboyz/types": "1.5.163",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -991,3 +991,10 @@ export class TCoreUserSelectd2Querys implements ICoreUserSelectd2Querys {
991
991
  usrpartc: number = -1;
992
992
  viewonly: number = -1;
993
993
  }
994
+
995
+ export interface ICoreUserDetaild2Querys {
996
+ usermain: number;
997
+ }
998
+ export class TCoreUserDetaild2Querys implements ICoreUserDetaild2Querys {
999
+ usermain: number = -1;
1000
+ }
@@ -41,7 +41,8 @@ import {
41
41
  ICoreUserSelectdbWithflowParams,
42
42
  ICoreUserUpdatedbTouchurlQuerys,
43
43
  ICoreUserQueuesByQuerys,
44
- ICoreUserSelectd2Querys
44
+ ICoreUserSelectd2Querys,
45
+ ICoreUserDetaild2Querys
45
46
  } from "./types";
46
47
 
47
48
  class UserRequest {
@@ -576,7 +577,17 @@ class UserRequest {
576
577
  * @returns
577
578
  */
578
579
  selectd2(querys: ICoreUserSelectd2Querys, params: object) {
579
- return this.httpRequest.post<string>("/core/tuser/selectd2/withflow", querys, params);
580
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectd2/withflow", querys, params);
581
+ }
582
+
583
+ /**
584
+ * 获取用户详情
585
+ * @param querys
586
+ * @param params
587
+ * @returns
588
+ */
589
+ detaild2(querys: ICoreUserDetaild2Querys, params: object) {
590
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/detaild2/withflow", querys, params);
580
591
  }
581
592
  }
582
593