@ningboyz/apis 1.2.45 → 1.2.46

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.45",
3
+ "version": "1.2.46",
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.45",
20
+ "@ningboyz/types": "1.2.46",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -13,8 +13,8 @@ class MainRequest {
13
13
  * @param querys
14
14
  * @returns
15
15
  */
16
- selectdb(querys: IHzcbMainSelectdbQuerys) {
17
- return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/selectdb", querys, undefined);
16
+ selectdb(querys: IHzcbMainSelectdbQuerys, params: object) {
17
+ return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/selectdb", querys, params);
18
18
  }
19
19
 
20
20
  /**
@@ -13,8 +13,8 @@ class XmtzRequest {
13
13
  * @param querys
14
14
  * @returns
15
15
  */
16
- selectdb(querys: IHzcbXmtzSelectdbQuerys) {
17
- return this.httpRequest.post<THzcb.IHzcbXmtzResponse[]>("/gapi/hzcb/txmtz/selectdb", querys, undefined);
16
+ selectdb(querys: IHzcbXmtzSelectdbQuerys, params: object) {
17
+ return this.httpRequest.post<THzcb.IHzcbXmtzResponse[]>("/gapi/hzcb/txmtz/selectdb", querys, params);
18
18
  }
19
19
 
20
20
  /**
@@ -1,6 +1,6 @@
1
1
  import { THzcb } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IHzcbXmykDetaildbQuerys, IHzcbXmykSelectdbQuerys, IHzcbXmykInsertdbQuerys, IHzcbXmykUpdatedbQuerys, IHzcbXmykDeletedbQuerys } from "./types";
3
+ import { IHzcbXmykDeletedbQuerys, IHzcbXmykDetaildbQuerys, IHzcbXmykInsertdbQuerys, IHzcbXmykSelectdbQuerys, IHzcbXmykUpdatedbQuerys } from "./types";
4
4
 
5
5
  class XmykRequest {
6
6
  private httpRequest: HttpRequest;
@@ -0,0 +1,32 @@
1
+ import { HttpRequest } from "../axios";
2
+ import { IJapzCnfgDetailQuerys, IJapzCnfgSelectdbQuerys } from "./types";
3
+ import { TJapz } from "@ningboyz/types";
4
+
5
+ class CnfgRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ selectdb(querys: IJapzCnfgSelectdbQuerys) {
12
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/selectdb", querys, undefined);
13
+ }
14
+
15
+ insertdb(params: object) {
16
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/insertdb", undefined, params);
17
+ }
18
+
19
+ updatedb(params: object) {
20
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/updatedb", undefined, params);
21
+ }
22
+
23
+ detaildb(querys: IJapzCnfgDetailQuerys) {
24
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/detaildb", querys, undefined);
25
+ }
26
+
27
+ deletedb(params: object) {
28
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/deletedb", undefined, params);
29
+ }
30
+ }
31
+
32
+ export default CnfgRequest;
@@ -0,0 +1,32 @@
1
+ import { HttpRequest } from "../axios";
2
+ import { IJapzCnfgUnitDetailQuerys, IJapzCnfgUnitSelectdbQuerys } from "./types";
3
+ import { TJapz } from "@ningboyz/types";
4
+
5
+ class CnfgUnitRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ selectdb(querys: IJapzCnfgUnitSelectdbQuerys) {
12
+ return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/selectdb", querys, undefined);
13
+ }
14
+
15
+ insertdb(params: object) {
16
+ return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/insertdb", undefined, params);
17
+ }
18
+
19
+ updatedb(params: object) {
20
+ return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/updatedb", undefined, params);
21
+ }
22
+
23
+ detaildb(querys: IJapzCnfgUnitDetailQuerys) {
24
+ return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/detaildb", querys, undefined);
25
+ }
26
+
27
+ deletedb(params: object) {
28
+ return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/deletedb", undefined, params);
29
+ }
30
+ }
31
+
32
+ export default CnfgUnitRequest;
@@ -0,0 +1,14 @@
1
+ import { createRequest, IAxiosConfig } from "../axios";
2
+ import CnfgRequest from "./cnfg";
3
+
4
+ class JapzRequest {
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 JapzRequest;
14
+ export * from "./types";
@@ -0,0 +1,32 @@
1
+ import { HttpRequest } from "../axios";
2
+ import { TJapz } from "@ningboyz/types";
3
+ import { IJapzItemDetailQuerys, IJapzItemSelectdbQuerys } from "./types";
4
+
5
+ class ItemRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ selectdb(querys: IJapzItemSelectdbQuerys) {
12
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/selectdb", querys, undefined);
13
+ }
14
+
15
+ insertdb(params: object) {
16
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/insertdb", undefined, params);
17
+ }
18
+
19
+ updatedb(params: object) {
20
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/updatedb", undefined, params);
21
+ }
22
+
23
+ detaildb(querys: IJapzItemDetailQuerys) {
24
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/detaildb", querys, undefined);
25
+ }
26
+
27
+ deletedb(params: object) {
28
+ return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/deletedb", undefined, params);
29
+ }
30
+ }
31
+
32
+ export default ItemRequest;
@@ -0,0 +1,32 @@
1
+ import { HttpRequest } from "../axios";
2
+ import { IJapzK0kmDetailQuerys, IJapzK0kmSelectdbQuerys } from "./types";
3
+ import { TJapz } from "@ningboyz/types";
4
+
5
+ class K0kmRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ selectdb(querys: IJapzK0kmSelectdbQuerys) {
12
+ return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/selectdb", querys, undefined);
13
+ }
14
+
15
+ insertdb(params: object) {
16
+ return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/insertdb", undefined, params);
17
+ }
18
+
19
+ updatedb(params: object) {
20
+ return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/updatedb", undefined, params);
21
+ }
22
+
23
+ detaildb(querys: IJapzK0kmDetailQuerys) {
24
+ return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/detaildb", querys, undefined);
25
+ }
26
+
27
+ deletedb(params: object) {
28
+ return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/deletedb", undefined, params);
29
+ }
30
+ }
31
+
32
+ export default K0kmRequest;
@@ -0,0 +1,32 @@
1
+ import { HttpRequest } from "../axios";
2
+ import { IJapzK7kmDetailQuerys, IJapzK7kmSelectdbQuerys } from "./types";
3
+ import { TJapz } from "@ningboyz/types";
4
+
5
+ class K7kmRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ selectdb(querys: IJapzK7kmSelectdbQuerys) {
12
+ return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/selectdb", querys, undefined);
13
+ }
14
+
15
+ insertdb(params: object) {
16
+ return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/insertdb", undefined, params);
17
+ }
18
+
19
+ updatedb(params: object) {
20
+ return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/updatedb", undefined, params);
21
+ }
22
+
23
+ detaildb(querys: IJapzK7kmDetailQuerys) {
24
+ return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/detaildb", querys, undefined);
25
+ }
26
+
27
+ deletedb(params: object) {
28
+ return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/deletedb", undefined, params);
29
+ }
30
+ }
31
+
32
+ export default K7kmRequest;
@@ -0,0 +1,32 @@
1
+ import { HttpRequest } from "../axios";
2
+ import { IJapzK8kmDetailQuerys, IJapzK8kmSelectdbQuerys } from "./types";
3
+ import { TJapz } from "@ningboyz/types";
4
+
5
+ class K8kmRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ selectdb(querys: IJapzK8kmSelectdbQuerys) {
12
+ return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/selectdb", querys, undefined);
13
+ }
14
+
15
+ insertdb(params: object) {
16
+ return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/insertdb", undefined, params);
17
+ }
18
+
19
+ updatedb(params: object) {
20
+ return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/updatedb", undefined, params);
21
+ }
22
+
23
+ detaildb(querys: IJapzK8kmDetailQuerys) {
24
+ return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/detaildb", querys, undefined);
25
+ }
26
+
27
+ deletedb(params: object) {
28
+ return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/deletedb", undefined, params);
29
+ }
30
+ }
31
+
32
+ export default K8kmRequest;
@@ -0,0 +1,32 @@
1
+ import { HttpRequest } from "../axios";
2
+ import { IJapzK9kmDetailQuerys, IJapzK9kmSelectdbQuerys } from "./types";
3
+ import { TJapz } from "@ningboyz/types";
4
+
5
+ class K9kmRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ selectdb(querys: IJapzK9kmSelectdbQuerys) {
12
+ return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/selectdb", querys, undefined);
13
+ }
14
+
15
+ insertdb(params: object) {
16
+ return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/insertdb", undefined, params);
17
+ }
18
+
19
+ updatedb(params: object) {
20
+ return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/updatedb", undefined, params);
21
+ }
22
+
23
+ detaildb(querys: IJapzK9kmDetailQuerys) {
24
+ return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/detaildb", querys, undefined);
25
+ }
26
+
27
+ deletedb(params: object) {
28
+ return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/deletedb", undefined, params);
29
+ }
30
+ }
31
+
32
+ export default K9kmRequest;
@@ -0,0 +1,27 @@
1
+ export interface IJapzCnfgSelectdbQuerys {}
2
+
3
+ export interface IJapzCnfgDetailQuerys {}
4
+
5
+ export interface IJapzCnfgUnitSelectdbQuerys {}
6
+
7
+ export interface IJapzCnfgUnitDetailQuerys {}
8
+
9
+ export interface IJapzItemSelectdbQuerys {}
10
+
11
+ export interface IJapzItemDetailQuerys {}
12
+
13
+ export interface IJapzK0kmDetailQuerys {}
14
+
15
+ export interface IJapzK0kmSelectdbQuerys {}
16
+
17
+ export interface IJapzK7kmDetailQuerys {}
18
+
19
+ export interface IJapzK7kmSelectdbQuerys {}
20
+
21
+ export interface IJapzK8kmDetailQuerys {}
22
+
23
+ export interface IJapzK8kmSelectdbQuerys {}
24
+
25
+ export interface IJapzK9kmDetailQuerys {}
26
+
27
+ export interface IJapzK9kmSelectdbQuerys {}
@@ -70,8 +70,8 @@ class YzhtRequest {
70
70
  * @param querys
71
71
  * @returns
72
72
  */
73
- get4bill(querys: IYzhtBillGet4BillQuerys) {
74
- return this.httpRequest.post<TYzht.IYzhtBillResponse[]>("/gapi/yzht/tmain/get4bill", querys);
73
+ get4bill(querys: IYzhtBillGet4BillQuerys, params: object) {
74
+ return this.httpRequest.post<TYzht.IYzhtBillResponse[]>("/gapi/yzht/tmain/get4bill", querys, params);
75
75
  }
76
76
 
77
77
  /**