@ningboyz/apis 1.2.110 → 1.2.112
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 +2 -2
- package/packages/bill/cnfg.ts +11 -7
- package/packages/bill/types.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.112",
|
|
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.
|
|
20
|
+
"@ningboyz/types": "1.2.112",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/bill/cnfg.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { TBill } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
4
|
-
IBillCnfgDeletedbQuerys,
|
|
5
|
-
IBillCnfgDetaildbQuerys,
|
|
6
|
-
IBillCnfgInsertdbQuerys,
|
|
7
|
-
IBillCnfgSelectdbQuerys,
|
|
8
|
-
IBillCnfgUpdatedbQuerys
|
|
9
|
-
} from "./types";
|
|
3
|
+
import { IBillCnfgDeletedbQuerys, IBillCnfgDetaildbQuerys, IBillCnfgInsertdbQuerys, IBillCnfgSelectd2Querys, IBillCnfgSelectdbQuerys, IBillCnfgUpdatedbQuerys } from "./types";
|
|
10
4
|
|
|
11
5
|
class CnfgRequest {
|
|
12
6
|
private httpRequest: HttpRequest;
|
|
@@ -53,6 +47,16 @@ class CnfgRequest {
|
|
|
53
47
|
selectdb(querys: IBillCnfgSelectdbQuerys, params: object) {
|
|
54
48
|
return this.httpRequest.post<TBill.IBillCnfgResponse[]>("/gapi/bill/tcnfg/selectdb", querys, params);
|
|
55
49
|
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 查询银行票据配置
|
|
53
|
+
* @param querys
|
|
54
|
+
* @param params
|
|
55
|
+
* @returns
|
|
56
|
+
*/
|
|
57
|
+
selectd2(querys: IBillCnfgSelectd2Querys, params: object) {
|
|
58
|
+
return this.httpRequest.post<TBill.IBillCnfgResponse[]>("/gapi/bill/tcnfg/selectd2", querys, params);
|
|
59
|
+
}
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
export default CnfgRequest;
|
package/packages/bill/types.ts
CHANGED
|
@@ -39,3 +39,8 @@ export class TBillCnfgDeletedbQuerys implements IBillCnfgDeletedbQuerys {}
|
|
|
39
39
|
|
|
40
40
|
export interface IBillCnfgSelectdbQuerys {}
|
|
41
41
|
export class TBillCnfgSelectdbQuerys implements IBillCnfgSelectdbQuerys {}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
export interface IBillCnfgSelectd2Querys{}
|
|
45
|
+
|
|
46
|
+
export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys{}
|