@ningboyz/apis 1.6.180 → 1.6.182

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.6.180",
3
+ "version": "1.6.182",
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.6.180",
20
+ "@ningboyz/types": "1.6.182",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -61,7 +61,7 @@ class ParaRequest {
61
61
  * @returns
62
62
  */
63
63
  withgzjg(querys: IGzzdMainWithgzjgQuerys, params: object) {
64
- return this.httpRequest.post<TGzjg.IGzjgGzlmResponse[]>("/gapi/gzzd/tmain/get4bill/withgzjg", querys, params);
64
+ return this.httpRequest.post<TGzzd.IGzzdBillResponse[]>("/gapi/gzzd/tmain/get4bill/withgzjg", querys, params);
65
65
  }
66
66
 
67
67
  /**
@@ -39,12 +39,14 @@ export class TGzzdMainGet4billQuerys implements IGzzdMainGet4billQuerys {
39
39
 
40
40
  export interface IGzzdMainWithgzjgQuerys {
41
41
  gzzdmain: number;
42
+ gzjgmain: number;
42
43
  viewmode: number;
43
44
  thinmode: number;
44
45
  }
45
46
 
46
47
  export class TGzzdMainWithgzjgQuerys implements IGzzdMainWithgzjgQuerys {
47
48
  gzzdmain: number = -1;
49
+ gzjgmain: number = -1;
48
50
  viewmode: number = 0;
49
51
  thinmode: number = -1;
50
52
  }
@@ -1,14 +1,17 @@
1
1
  import { createRequest, IAxiosConfig } from "../axios";
2
+ import TLihaRequest from "./liha";
2
3
  import TenvrRequest from "./main";
3
4
 
4
5
  class WlzfRequest {
5
6
  public main: TenvrRequest;
6
-
7
+ public liha: TLihaRequest;
7
8
  constructor(config: IAxiosConfig) {
8
9
  const request = createRequest(config);
9
10
  this.main = new TenvrRequest(request);
11
+ this.liha = new TLihaRequest(request);
10
12
  }
11
13
  }
12
14
 
13
15
  export default WlzfRequest;
16
+
14
17
  export * from "./types";
@@ -0,0 +1,21 @@
1
+ import type { TWlzf } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IWlzfLihaSelectdbQuerys } from "./types";
4
+
5
+ class TLihaRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 获取支付环境列表
13
+ * @param querys
14
+ * @returns
15
+ */
16
+ selectdb(querys: IWlzfLihaSelectdbQuerys, params: object) {
17
+ return this.httpRequest.post<TWlzf.ILihaResponse[]>("/gapi/wlzf/tliha/selectdb", querys, params);
18
+ }
19
+ }
20
+
21
+ export default TLihaRequest;
@@ -47,3 +47,15 @@ export class TWlzfDetaildbQuerys implements IWlzfDetaildbQuerys {
47
47
  sourcend: number = -1;
48
48
  entityid: string = "-1";
49
49
  }
50
+
51
+ /******* 联机账户管理 *******/
52
+
53
+ export interface IWlzfLihaSelectdbQuerys {
54
+ lihacode: string;
55
+ asnormal: number;
56
+ }
57
+
58
+ export class TWlzfLihaSelectdbQuerys implements IWlzfLihaSelectdbQuerys {
59
+ lihacode: string = "";
60
+ asnormal: number = -1;
61
+ }