@ningboyz/apis 1.2.13 → 1.2.14

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.2.13",
3
+ "version": "1.2.14",
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.2.13",
20
+ "@ningboyz/types": "1.2.14",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -10,6 +10,7 @@ export interface IYzhtMainSelectdbQuerys {
10
10
  lockonly: number;
11
11
  lockmyoa: number;
12
12
  viewonly: number;
13
+ unitmain: number;
13
14
  }
14
15
 
15
16
  export class TYzhtMainSelectdbQuerys implements IYzhtMainSelectdbQuerys {
@@ -23,6 +24,7 @@ export class TYzhtMainSelectdbQuerys implements IYzhtMainSelectdbQuerys {
23
24
  lockonly: number = -1;
24
25
  lockmyoa: number = -1;
25
26
  viewonly: number = -1;
27
+ unitmain: number = -1;
26
28
  }
27
29
 
28
30
  export interface IYzhtMainDeletedbQuerys {
@@ -14,7 +14,7 @@ class CnfgRequest {
14
14
  * @returns
15
15
  */
16
16
  selectdb(querys: IZbhdCnfgSelectdbQuerys) {
17
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/selectdb", querys);
17
+ return this.httpRequest.post<TZbhd.IZbzdCnfgResponse[]>("/zbhd/tcnfg/selectdb", querys);
18
18
  }
19
19
 
20
20
  /**
@@ -24,7 +24,7 @@ class CnfgRequest {
24
24
  * @returns
25
25
  */
26
26
  insertdb(querys: IZbhdCnfgInsertdbQuerys, params: object) {
27
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/insertdb", querys, params);
27
+ return this.httpRequest.post<TZbhd.IZbzdCnfgResponse[]>("/zbhd/tcnfg/insertdb", querys, params);
28
28
  }
29
29
 
30
30
  /**
@@ -34,7 +34,7 @@ class CnfgRequest {
34
34
  * @returns
35
35
  */
36
36
  updatedb(querys: IZbhdCnfgUpdatedbQuerys, params: object) {
37
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/updatedb", querys, params);
37
+ return this.httpRequest.post<TZbhd.IZbzdCnfgResponse[]>("/zbhd/tcnfg/updatedb", querys, params);
38
38
  }
39
39
 
40
40
  /**
@@ -43,7 +43,7 @@ class CnfgRequest {
43
43
  * @returns
44
44
  */
45
45
  deletedb(params: object) {
46
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/deletedb", undefined, params);
46
+ return this.httpRequest.post<TZbhd.IZbzdCnfgResponse[]>("/zbhd/tcnfg/deletedb", undefined, params);
47
47
  }
48
48
 
49
49
  /**
@@ -53,7 +53,7 @@ class CnfgRequest {
53
53
  * @returns
54
54
  */
55
55
  detaildb(querys: IZbhdCnfgDetaildbQuerys, params: object) {
56
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/detaildb", querys, params);
56
+ return this.httpRequest.post<TZbhd.IZbzdCnfgResponse[]>("/zbhd/tcnfg/detaildb", querys, params);
57
57
  }
58
58
  }
59
59