@ningboyz/apis 1.8.93 → 1.8.95

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.8.93",
3
+ "version": "1.8.95",
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.8.93",
20
+ "@ningboyz/types": "1.8.95",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1703,3 +1703,9 @@ export class TCoreSysstatusSelectdbQuerys implements ICoreSysstatusSelectdbQuery
1703
1703
  tablfrom: "WEB" | "MOBILE" | "DINGDING" | "ZWDD" | "WEIXIN" = "WEB";
1704
1704
  queuesby: string = "";
1705
1705
  }
1706
+
1707
+ export interface ICoreUnitParentidUploaddbQuerys {
1708
+ }
1709
+
1710
+ export class TCoreUnitParentidUploaddbQuerys implements ICoreUnitParentidUploaddbQuerys {
1711
+ }
@@ -7,6 +7,7 @@ import {
7
7
  ICoreUnitDetaildbQuerys,
8
8
  ICoreUnitGet4UnitQuerys,
9
9
  ICoreUnitLoadSelectdbQuerys,
10
+ ICoreUnitParentidUploaddbQuerys,
10
11
  ICoreUnitSelectdbQuerys,
11
12
  ICoreUnitUpdateUnitCodeQuerys,
12
13
  ICoreUnitUploadd5Querys,
@@ -168,7 +169,14 @@ class UnitRequest {
168
169
  unitLoadSelectdb(querys: ICoreUnitLoadSelectdbQuerys, params: object){
169
170
  return this.httpRequest.post<TLoad.IUnitLoadResponse[]>("/gapi/core/tunit/unitload/selectdb", querys, params);
170
171
  }
171
-
172
+
173
+ /**
174
+ * 批量修改单位parentid
175
+ * @returns
176
+ */
177
+ parentidUploaddb(querys: ICoreUnitParentidUploaddbQuerys, params: object) {
178
+ return this.httpRequest.post<TCore.IUnitResponse[]>("/gapi/core/tunit/parentid/uploaddb", querys, params);
179
+ }
172
180
  }
173
181
 
174
182
  export default UnitRequest;
@@ -15,8 +15,8 @@ class InventoryRequest {
15
15
  * @param params
16
16
  * @returns
17
17
  */
18
- selectdb(querys: ISysenvrInventoryUploaddbQuerys, params: object) {
19
- return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/tsysenvr/hmactext/uploaddb", querys, params);
18
+ uploaddb(querys: ISysenvrInventoryUploaddbQuerys, params: object) {
19
+ return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/core/tsysenvr/hmactext/uploaddb", querys, params);
20
20
  }
21
21
 
22
22
  /**
@@ -26,8 +26,8 @@ class InventoryRequest {
26
26
  * @param params
27
27
  * @returns
28
28
  */
29
- detaildb(querys: ISysenvrInventoryEncryptQuerys, params: object) {
30
- return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/tsysenvr/encrypt", querys, params);
29
+ encrypt(querys: ISysenvrInventoryEncryptQuerys, params: object) {
30
+ return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/core/tsysenvr/encrypt", querys, params);
31
31
  }
32
32
 
33
33
  /**
@@ -37,8 +37,8 @@ class InventoryRequest {
37
37
  * @param params
38
38
  * @returns
39
39
  */
40
- syncdb(querys: ISysenvrInventoryDecryptQuerys, params: object) {
41
- return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/tsysenvr/decrypt", querys, params);
40
+ decrypt(querys: ISysenvrInventoryDecryptQuerys, params: object) {
41
+ return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/core/tsysenvr/decrypt", querys, params);
42
42
  }
43
43
  }
44
44