@ningboyz/apis 1.3.158 → 1.3.160

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.3.158",
3
+ "version": "1.3.160",
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.3.158",
20
+ "@ningboyz/types": "1.3.160",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,4 +1,12 @@
1
1
  /** ========== dept ========== */
2
+ export interface ICoreUserliteWithunit {
3
+ unitmain: number;
4
+ deptmain: number;
5
+ }
6
+ export class TCoreUserliteWithunit implements ICoreUserliteWithunit {
7
+ unitmain: number = -1;
8
+ deptmain: number = -1;
9
+ }
2
10
  export interface ICoreDeptSelectdbQuerys {
3
11
  unitmain: number;
4
12
  datahide: number;
@@ -725,11 +733,10 @@ export class TCoreBillcodeSelectdbInsertdbQuerys implements ICoreBillcodeSelectd
725
733
  tablfrom: string = "withcore";
726
734
  }
727
735
 
728
-
729
736
  export interface ICoreMasttInsertdbCamelcaseQuerys {
730
737
  syspartc: number;
731
738
  }
732
739
 
733
740
  export class TCoreMasttInsertdbCamelcaseQuerys implements ICoreMasttInsertdbCamelcaseQuerys {
734
741
  syspartc: number = -1;
735
- }
742
+ }
@@ -33,6 +33,7 @@ import {
33
33
  ICoreUserUpdatemmQuerys,
34
34
  ICoreUserUploadd2Querys,
35
35
  ICoreUserUploadd3Querys,
36
+ ICoreUserliteWithunit,
36
37
  ICoreUserUploaddbQuerys,
37
38
  ICoreUserVerifydbAuthcodeQuerys,
38
39
  ICoreUserVerifydbDingdingQuerys
@@ -80,13 +81,21 @@ class UserRequest {
80
81
  updatedb(params: object) {
81
82
  return this.httpRequest.post<TCore.IUserResponse[]>(`/core/tuser/updatedb`, undefined, params);
82
83
  }
84
+ /**
85
+ * 获取接收人员
86
+ * @param querys
87
+ * @returns
88
+ */
89
+ userliteWithunit(querys: ICoreUserliteWithunit) {
90
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/userlite/withunit", querys, undefined);
91
+ }
83
92
 
84
- /**
93
+ /**
85
94
  * 更新用户头像
86
95
  * @param params
87
96
  * @returns
88
97
  */
89
- updatecl(querys: ICoreUserUpdateclQuerys,params: object) {
98
+ updatecl(querys: ICoreUserUpdateclQuerys, params: object) {
90
99
  return this.httpRequest.post<TCore.IUserResponse[]>(`/core/tuser/coverurl/updatedb`, querys, params);
91
100
  }
92
101