@ningboyz/apis 1.4.90 → 1.4.91
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 +10 -2
- package/packages/noti/types.ts +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.91",
|
|
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.4.
|
|
20
|
+
"@ningboyz/types": "1.4.91",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/noti/main.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TNoti } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainAuditd4WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
4
|
+
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainAuditd4WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainNextNodeWithscczQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -189,7 +189,15 @@ class ParaRequest {
|
|
|
189
189
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/canceled", querys, params);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
/**
|
|
193
|
+
* 自动审核
|
|
194
|
+
* @param querys
|
|
195
|
+
* @param params
|
|
196
|
+
* @returns
|
|
197
|
+
*/
|
|
198
|
+
nextnodewithsccz(querys: INotiMainNextNodeWithscczQuerys, params: object) {
|
|
199
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/nextnode", querys, params);
|
|
200
|
+
}
|
|
193
201
|
}
|
|
194
202
|
|
|
195
203
|
export default ParaRequest;
|
package/packages/noti/types.ts
CHANGED
|
@@ -150,4 +150,12 @@ export class TNotiMainFinishedWithscczQuerys implements INotiMainFinishedWithscc
|
|
|
150
150
|
voidonly: number = -1;
|
|
151
151
|
withlock: number = -1;
|
|
152
152
|
queuesby: string = "";
|
|
153
|
-
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface INotiMainNextNodeWithscczQuerys {
|
|
156
|
+
useruuid: string;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export class TNotiMainNextNodeWithscczQuerys implements INotiMainNextNodeWithscczQuerys {
|
|
160
|
+
useruuid: string = "";
|
|
161
|
+
}
|