@ningboyz/apis 1.1.187 → 1.1.188

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/index.ts CHANGED
@@ -29,7 +29,6 @@ import YzpzRequest from "./packages/yzpz";
29
29
  import WzpzRequest from "./packages/wzpz";
30
30
  import WlzfRequest from "./packages/wlzf";
31
31
  import ZbhdRequest from "./packages/zbhd";
32
- import ZbpzRequest from "./packages/zbpz";
33
32
 
34
33
  class Request {
35
34
  public static core: CoreRequest;
@@ -62,7 +61,6 @@ class Request {
62
61
  public static wzpz: WzpzRequest;
63
62
  public static wlzf: WlzfRequest;
64
63
  public static zbhd: ZbhdRequest;
65
- public static zbpz: ZbpzRequest;
66
64
 
67
65
  public static createRequest(config: IAxiosConfig) {
68
66
  this.core = new CoreRequest(config);
@@ -95,7 +93,6 @@ class Request {
95
93
  this.wzpz = new WzpzRequest(config);
96
94
  this.wlzf = new WlzfRequest(config);
97
95
  this.zbhd = new ZbhdRequest(config);
98
- this.zbpz = new ZbpzRequest(config);
99
96
  }
100
97
  }
101
98
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.1.187",
3
+ "version": "1.1.188",
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.1.187",
20
+ "@ningboyz/types": "1.1.188",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
package/packages/index.ts CHANGED
@@ -28,5 +28,4 @@ export * from "./zbzd";
28
28
  export * from "./yzpz";
29
29
  export * from "./wzpz";
30
30
  export * from "./zbhd";
31
- export * from "./zbpz";
32
31
 
@@ -41,7 +41,7 @@ class MainRequest {
41
41
  * @returns
42
42
  */
43
43
  detaildb(querys: ILoadMainDetaildbQuerys) {
44
- return this.httpRequest.post<TLoad.ILoadDataResponse[]>("/gapi/load/tmain/detaildb", querys);
44
+ return this.httpRequest.post<TLoad.ILoadMainResponse[]>("/gapi/load/tmain/detaildb", querys);
45
45
  }
46
46
 
47
47
  /**
@@ -1,8 +1,8 @@
1
1
  import { TZbhd } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IZbpzCnfgDetaildbQuerys, IZbpzCnfgInsertdbQuerys, IZbpzCnfgSelectdbQuerys, IZbpzCnfgUpdatedbQuerys } from "./types";
3
+ import { IZbhdCnfgDetaildbQuerys, IZbhdCnfgInsertdbQuerys, IZbhdCnfgSelectdbQuerys, IZbhdCnfgUpdatedbQuerys } from "./types";
4
4
 
5
- class ZbpzRequest {
5
+ class CnfgRequest {
6
6
  private httpRequest: HttpRequest;
7
7
  constructor(httpRequest: HttpRequest) {
8
8
  this.httpRequest = httpRequest;
@@ -13,8 +13,8 @@ class ZbpzRequest {
13
13
  * @param querys
14
14
  * @returns
15
15
  */
16
- selectdb(querys: IZbpzCnfgSelectdbQuerys) {
17
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbpz/tcnfg/selectdb", querys);
16
+ selectdb(querys: IZbhdCnfgSelectdbQuerys) {
17
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/selectdb", querys);
18
18
  }
19
19
 
20
20
  /**
@@ -23,8 +23,8 @@ class ZbpzRequest {
23
23
  * @param params
24
24
  * @returns
25
25
  */
26
- insertdb(querys: IZbpzCnfgInsertdbQuerys, params: object) {
27
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbpz/tcnfg/insertdb", querys, params);
26
+ insertdb(querys: IZbhdCnfgInsertdbQuerys, params: object) {
27
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/insertdb", querys, params);
28
28
  }
29
29
 
30
30
  /**
@@ -33,8 +33,8 @@ class ZbpzRequest {
33
33
  * @param params
34
34
  * @returns
35
35
  */
36
- updatedb(querys: IZbpzCnfgUpdatedbQuerys, params: object) {
37
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbpz/tcnfg/updatedb", querys, params);
36
+ updatedb(querys: IZbhdCnfgUpdatedbQuerys, params: object) {
37
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/updatedb", querys, params);
38
38
  }
39
39
 
40
40
  /**
@@ -43,7 +43,7 @@ class ZbpzRequest {
43
43
  * @returns
44
44
  */
45
45
  deletedb(params: object) {
46
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbpz/tcnfg/deletedb", undefined, params);
46
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/deletedb", undefined, params);
47
47
  }
48
48
 
49
49
  /**
@@ -52,9 +52,9 @@ class ZbpzRequest {
52
52
  * @param params
53
53
  * @returns
54
54
  */
55
- detaildb(querys: IZbpzCnfgDetaildbQuerys, params: object) {
56
- return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbpz/tcnfg/detaildb", querys, params);
55
+ detaildb(querys: IZbhdCnfgDetaildbQuerys, params: object) {
56
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tcnfg/detaildb", querys, params);
57
57
  }
58
58
  }
59
59
 
60
- export default ZbpzRequest;
60
+ export default CnfgRequest;
@@ -1,15 +1,17 @@
1
1
  import { createRequest, IAxiosConfig } from "../axios";
2
2
  import MainRequest from "./main";
3
+ import CnfgRequest from "./cnfg";
3
4
 
4
5
  class ZbhdRequest {
5
6
  public main: MainRequest;
7
+ public cnfg: CnfgRequest;
6
8
 
7
9
  constructor(config: IAxiosConfig) {
8
10
  const request = createRequest(config);
9
11
  this.main = new MainRequest(request);
12
+ this.cnfg = new CnfgRequest(request);
10
13
  }
11
14
  }
12
15
 
13
16
  export default ZbhdRequest;
14
17
  export * from "./types";
15
-
@@ -58,3 +58,45 @@ export class TZbhdMainDetaildbQuerys implements IZbhdMainDetaildbQuerys {
58
58
  zbhdmain: number = -1;
59
59
  sourcend: number = -1;
60
60
  }
61
+
62
+ /** ========== cnfg ========== */
63
+ export interface IZbhdCnfgSelectdbQuerys {
64
+ ysbmmain: number;
65
+ ysbmonly: number;
66
+ sourcend: number;
67
+ unitmain: number;
68
+ }
69
+
70
+ export class TZbhdCnfgSelectdbQuerys implements IZbhdCnfgSelectdbQuerys {
71
+ ysbmmain: number = -1;
72
+ ysbmonly: number = -1;
73
+ sourcend: number = -1;
74
+ unitmain: number = -1;
75
+ }
76
+
77
+ export interface IZbhdCnfgInsertdbQuerys {
78
+ sourcend: number;
79
+ }
80
+
81
+ export class TZbhdCnfgInsertdbQuerys implements IZbhdCnfgInsertdbQuerys {
82
+ sourcend: number = -1;
83
+ }
84
+
85
+ export interface IZbhdCnfgUpdatedbQuerys {
86
+ sourcend: number;
87
+ }
88
+
89
+ export class TZbhdCnfgUpdatedbQuerys implements IZbhdCnfgUpdatedbQuerys {
90
+ sourcend: number = -1
91
+ }
92
+
93
+ export interface IZbhdCnfgDetaildbQuerys {
94
+ zbhdmain: number;
95
+ sourcend: number;
96
+ }
97
+
98
+ export class TZbhdCnfgDetaildbQuerys implements IZbhdCnfgDetaildbQuerys {
99
+ zbhdmain: number = -1;
100
+ sourcend: number = -1;
101
+ }
102
+
@@ -1,15 +0,0 @@
1
- import { createRequest, IAxiosConfig } from "../axios";
2
- import CnfgRequest from "./cnfg";
3
-
4
- class ZbpzRequest {
5
- public cnfg: CnfgRequest;
6
-
7
- constructor(config: IAxiosConfig) {
8
- const request = createRequest(config);
9
- this.cnfg = new CnfgRequest(request);
10
- }
11
- }
12
-
13
- export default ZbpzRequest;
14
- export * from "./types";
15
-
@@ -1,34 +0,0 @@
1
- /** ========== cnfg ========== */
2
- export interface IZbpzCnfgSelectdbQuerys {
3
- sourcend: number;
4
- unitmain: number;
5
- }
6
-
7
- export class TZbpzCnfgSelectdbQuerys implements IZbpzCnfgSelectdbQuerys {
8
- sourcend: number = -1;
9
- unitmain: number = -1;
10
- }
11
-
12
- export interface IZbpzCnfgInsertdbQuerys {
13
- sourcend: number;
14
- }
15
-
16
- export class TZbpzCnfgInsertdbQuerys implements IZbpzCnfgInsertdbQuerys {
17
- sourcend: number = -1;
18
- }
19
-
20
- export interface IZbpzCnfgUpdatedbQuerys {
21
- sourcend: number;
22
- }
23
-
24
- export class TZbpzCnfgUpdatedbQuerys implements IZbpzCnfgUpdatedbQuerys {
25
- sourcend: number = -1
26
- }
27
-
28
- export interface IZbpzCnfgDetaildbQuerys {
29
- sourcend: number;
30
- }
31
-
32
- export class TZbpzCnfgDetaildbQuerys implements IZbpzCnfgDetaildbQuerys {
33
- sourcend: number = -1;
34
- }