@ningboyz/apis 1.8.137 → 1.8.138
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/noti/main.ts +23 -1
- package/packages/noti/types.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.138",
|
|
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.138",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/noti/main.ts
CHANGED
|
@@ -15,7 +15,9 @@ import {
|
|
|
15
15
|
INotiMainNextNodeWithscczQuerys,
|
|
16
16
|
INotiMainReadplusQuerys,
|
|
17
17
|
INotiMainSelectdbQuerys,
|
|
18
|
-
INotiMainSelectdbWithscczQuerys
|
|
18
|
+
INotiMainSelectdbWithscczQuerys,
|
|
19
|
+
INotiMainUploadd2Querys,
|
|
20
|
+
INotiMainUploaddbQuerys
|
|
19
21
|
} from "./types";
|
|
20
22
|
|
|
21
23
|
class ParaRequest {
|
|
@@ -233,6 +235,26 @@ class ParaRequest {
|
|
|
233
235
|
get4notiwithsccz(querys: INotiMainGet4NotiWithscczQuerys, params: object) {
|
|
234
236
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/gapi/noti/tmain/withsccz/get4noti", querys, params);
|
|
235
237
|
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* 导入
|
|
241
|
+
* @param querys
|
|
242
|
+
* @param params
|
|
243
|
+
* @returns
|
|
244
|
+
*/
|
|
245
|
+
uploaddb(querys: INotiMainUploaddbQuerys, params: object) {
|
|
246
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/gapi/noti/tmain/uploaddb", querys, params);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* 导入
|
|
251
|
+
* @param querys
|
|
252
|
+
* @param params
|
|
253
|
+
* @returns
|
|
254
|
+
*/
|
|
255
|
+
uploadd2(querys: INotiMainUploadd2Querys, params: object) {
|
|
256
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/gapi/noti/tmain/uploadd2", querys, params);
|
|
257
|
+
}
|
|
236
258
|
}
|
|
237
259
|
|
|
238
260
|
export default ParaRequest;
|
package/packages/noti/types.ts
CHANGED
|
@@ -167,3 +167,19 @@ export interface INotiMainGet4NotiWithscczQuerys {
|
|
|
167
167
|
export class TNotiMainGet4NotiWithscczQuerys implements INotiMainGet4NotiWithscczQuerys {
|
|
168
168
|
notimain: number = -1;
|
|
169
169
|
}
|
|
170
|
+
|
|
171
|
+
export interface INotiMainUploaddbQuerys {
|
|
172
|
+
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class TNotiMainUploaddbQuerys implements INotiMainUploaddbQuerys {
|
|
176
|
+
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export interface INotiMainUploadd2Querys {
|
|
180
|
+
everyone: number;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export class TNotiMainUploadd2Querys implements INotiMainUploadd2Querys {
|
|
184
|
+
everyone: number = -1;
|
|
185
|
+
}
|