@ningboyz/apis 1.5.26 → 1.5.28
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/card/gblb.ts +1 -1
- package/packages/card/zclb.ts +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.28",
|
|
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.5.
|
|
20
|
+
"@ningboyz/types": "1.5.28",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/card/gblb.ts
CHANGED
|
@@ -111,7 +111,7 @@ class GblbRequest {
|
|
|
111
111
|
* @returns
|
|
112
112
|
*/
|
|
113
113
|
nextYear(querys: ICardGblbNextYearQuerys) {
|
|
114
|
-
return this.httpRequest.post<TCard.
|
|
114
|
+
return this.httpRequest.post<TCard.IGblbResponse[]>(`/gapi/card/tgblb/nextyear`, querys, undefined);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
package/packages/card/zclb.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { TCard } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
ICardZclbDetaildbQuerys,
|
|
6
|
+
ICardZclbNextyearQuerys,
|
|
7
|
+
ICardZclbSelectdbQuerys,
|
|
8
|
+
ICardZclbUploaddbQuerys
|
|
9
|
+
} from "./types";
|
|
5
10
|
|
|
6
11
|
class ZclbRequest {
|
|
7
12
|
private httpRequest: HttpRequest;
|
|
@@ -97,7 +102,7 @@ class ZclbRequest {
|
|
|
97
102
|
/**
|
|
98
103
|
* 根据启用年度获取资产类别
|
|
99
104
|
*/
|
|
100
|
-
nextyear(querys:
|
|
105
|
+
nextyear(querys: ICardZclbNextyearQuerys) {
|
|
101
106
|
return this.httpRequest.post<TCard.IZclbResponse[]>(`/gapi/card/tzclb/nextyear`, querys, void 0);
|
|
102
107
|
}
|
|
103
108
|
}
|