@ningboyz/apis 1.6.62 → 1.6.63

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.6.62",
3
+ "version": "1.6.63",
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.62",
20
+ "@ningboyz/types": "1.6.63",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1065,3 +1065,10 @@ export class TCoreUserUpdatedbBatchQuerys implements ICoreUserUpdatedbBatchQuery
1065
1065
 
1066
1066
  export interface ICoreUserGet4MobileQuerys {}
1067
1067
  export class TCoreUserGet4MobileQuerys implements ICoreUserGet4MobileQuerys {}
1068
+
1069
+ export interface ICoreUserUpdateDeviceOnQuerys {
1070
+ deviceon: number;
1071
+ }
1072
+ export class TCoreUserUpdateDeviceOnQuerys implements ICoreUserUpdateDeviceOnQuerys {
1073
+ deviceon: number = -1;
1074
+ }
@@ -49,7 +49,8 @@ import {
49
49
  ICoreUserListUnitdbQuerys,
50
50
  ICoreUserUpdatedbBatchQuerys,
51
51
  ICoreUserListDeptdbQuerys,
52
- ICoreUserGet4MobileQuerys
52
+ ICoreUserGet4MobileQuerys,
53
+ ICoreUserUpdateDeviceOnQuerys
53
54
  } from "./types";
54
55
 
55
56
  class UserRequest {
@@ -636,6 +637,11 @@ class UserRequest {
636
637
  get4mobile(querys: ICoreUserGet4MobileQuerys, params: object) {
637
638
  return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/mobileid/selectd2", querys, params);
638
639
  }
640
+
641
+ // 更新用户是否启用短信core/tuser/deviceon/uploaddb
642
+ updateDeviceOn(querys: ICoreUserUpdateDeviceOnQuerys, params: object) {
643
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/deviceon/uploaddb", querys, params);
644
+ }
639
645
  }
640
646
 
641
647
  export default UserRequest;