@ningboyz/apis 1.8.139 → 1.8.141
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/gztb/main.ts +6 -0
- package/packages/gztb/types.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.141",
|
|
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.8.
|
|
20
|
+
"@ningboyz/types": "1.8.141",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gztb/main.ts
CHANGED
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
IGztbMainFinishedQuerys,
|
|
9
9
|
IGztbMainGet4gzzdQuerys,
|
|
10
10
|
IGztbMainGet4pzActivityQuerys,
|
|
11
|
+
IGztbMainGztbinfoQuerys,
|
|
11
12
|
IGztbMainInsertd2Querys,
|
|
12
13
|
IGztbMainInsertdbQuerys,
|
|
13
14
|
IGztbMainLastgzdhQuerys,
|
|
@@ -192,6 +193,11 @@ class MainRequest {
|
|
|
192
193
|
usersizeSelectdb(querys: IGztbMainUsersizeSelectdbQuerys, params: object) {
|
|
193
194
|
return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/usersize/selectdb", querys, params);
|
|
194
195
|
}
|
|
196
|
+
|
|
197
|
+
/**获取投票统计 */
|
|
198
|
+
gztbinfo(querys: IGztbMainGztbinfoQuerys) {
|
|
199
|
+
return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/gztbinfo", querys, undefined);
|
|
200
|
+
}
|
|
195
201
|
}
|
|
196
202
|
|
|
197
203
|
export default MainRequest;
|
package/packages/gztb/types.ts
CHANGED
|
@@ -154,3 +154,11 @@ export class TGztbMainUpdateQuerys implements IGztbMainUpdateQuerys { }
|
|
|
154
154
|
export interface IGztbMainUsersizeSelectdbQuerys {}
|
|
155
155
|
|
|
156
156
|
export class TGztbMainUsersizeSelectdbQuerys implements IGztbMainUsersizeSelectdbQuerys {}
|
|
157
|
+
|
|
158
|
+
export interface IGztbMainGztbinfoQuerys {
|
|
159
|
+
gztbmain: number;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export class TGztbMainGztbinfoQuerys implements IGztbMainGztbinfoQuerys {
|
|
163
|
+
gztbmain: number = -1;
|
|
164
|
+
}
|