@ningboyz/apis 1.6.66 → 1.6.68
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 +10 -0
- package/packages/core/user.ts +6 -1
- package/packages/take/main.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.68",
|
|
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.68",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1072,3 +1072,13 @@ export interface ICoreUserUpdateDeviceOnQuerys {
|
|
|
1072
1072
|
export class TCoreUserUpdateDeviceOnQuerys implements ICoreUserUpdateDeviceOnQuerys {
|
|
1073
1073
|
deviceon: number = -1;
|
|
1074
1074
|
}
|
|
1075
|
+
|
|
1076
|
+
export interface ICoreUserUpdateIgnoreOnQuerys {
|
|
1077
|
+
// 1: 挂起 0:不挂起
|
|
1078
|
+
ignoreon: number;
|
|
1079
|
+
usermain: number;
|
|
1080
|
+
}
|
|
1081
|
+
export class TCoreUserUpdateIgnoreOnQuerys implements ICoreUserUpdateIgnoreOnQuerys {
|
|
1082
|
+
ignoreon: number = -1;
|
|
1083
|
+
usermain: number = -1;
|
|
1084
|
+
}
|
package/packages/core/user.ts
CHANGED
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
ICoreUserUpdatedbBatchQuerys,
|
|
51
51
|
ICoreUserListDeptdbQuerys,
|
|
52
52
|
ICoreUserGet4MobileQuerys,
|
|
53
|
-
ICoreUserUpdateDeviceOnQuerys
|
|
53
|
+
ICoreUserUpdateDeviceOnQuerys, ICoreUserUpdateIgnoreOnQuerys
|
|
54
54
|
} from "./types";
|
|
55
55
|
|
|
56
56
|
class UserRequest {
|
|
@@ -642,6 +642,11 @@ class UserRequest {
|
|
|
642
642
|
updateDeviceOn(querys: ICoreUserUpdateDeviceOnQuerys, params: object) {
|
|
643
643
|
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/deviceon/uploaddb", querys, params);
|
|
644
644
|
}
|
|
645
|
+
|
|
646
|
+
// 用户是否挂起
|
|
647
|
+
updateIgnoreOn(querys: ICoreUserUpdateIgnoreOnQuerys, params: object) {
|
|
648
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/ignoreon/updatedb", querys, params);
|
|
649
|
+
}
|
|
645
650
|
}
|
|
646
651
|
|
|
647
652
|
export default UserRequest;
|
package/packages/take/main.ts
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ITakeMainDeletedbQuerys,
|
|
5
5
|
ITakeMainDeletedsQuerys,
|
|
6
6
|
ITakeMainDetaildbQuerys,
|
|
7
|
+
ITakeMainDetaildfQuerys,
|
|
7
8
|
ITakeMainInsertdbQuerys,
|
|
8
9
|
ITakeMainInsertdsQuerys,
|
|
9
10
|
ITakeMainNegativeQuerys,
|
|
@@ -62,7 +63,7 @@ class MainRequest {
|
|
|
62
63
|
|
|
63
64
|
// 获取出入库单据列表
|
|
64
65
|
detaildf(querys: ITakeMainDetaildfQuerys, params: object) {
|
|
65
|
-
return this.httpRequest.post<TTake.
|
|
66
|
+
return this.httpRequest.post<TTake.ITakeBillResponse[]>("/gapi/take/tmain/detaildf", querys, params);
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
|