@ningboyz/apis 1.5.162 → 1.5.164
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 +16 -0
- package/packages/core/user.ts +18 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.164",
|
|
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.
|
|
20
|
+
"@ningboyz/types": "1.5.164",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -991,3 +991,19 @@ 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
|
+
}
|
|
1001
|
+
|
|
1002
|
+
export interface ICoreUserUpdatedbStatQuerys {
|
|
1003
|
+
usermain: number;
|
|
1004
|
+
userstat: number;
|
|
1005
|
+
}
|
|
1006
|
+
export class TCoreUserUpdatedbStatQuerys implements ICoreUserUpdatedbStatQuerys {
|
|
1007
|
+
usermain: number = -1;
|
|
1008
|
+
userstat: number = -1;
|
|
1009
|
+
}
|
package/packages/core/user.ts
CHANGED
|
@@ -41,7 +41,9 @@ import {
|
|
|
41
41
|
ICoreUserSelectdbWithflowParams,
|
|
42
42
|
ICoreUserUpdatedbTouchurlQuerys,
|
|
43
43
|
ICoreUserQueuesByQuerys,
|
|
44
|
-
ICoreUserSelectd2Querys
|
|
44
|
+
ICoreUserSelectd2Querys,
|
|
45
|
+
ICoreUserDetaild2Querys,
|
|
46
|
+
ICoreUserUpdatedbStatQuerys
|
|
45
47
|
} from "./types";
|
|
46
48
|
|
|
47
49
|
class UserRequest {
|
|
@@ -578,6 +580,21 @@ class UserRequest {
|
|
|
578
580
|
selectd2(querys: ICoreUserSelectd2Querys, params: object) {
|
|
579
581
|
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/selectd2/withflow", querys, params);
|
|
580
582
|
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* 获取用户详情
|
|
586
|
+
* @param querys
|
|
587
|
+
* @param params
|
|
588
|
+
* @returns
|
|
589
|
+
*/
|
|
590
|
+
detaild2(querys: ICoreUserDetaild2Querys, params: object) {
|
|
591
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/detaild2/withflow", querys, params);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**修改状态 */
|
|
595
|
+
updatedbStat(querys: ICoreUserUpdatedbStatQuerys, params: object) {
|
|
596
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/userdata/uploaddb", querys, params);
|
|
597
|
+
}
|
|
581
598
|
}
|
|
582
599
|
|
|
583
600
|
export default UserRequest;
|