@ningboyz/apis 1.4.21 → 1.4.22
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/myoa/main.ts +6 -1
- package/packages/myoa/types.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.22",
|
|
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.22",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/myoa/main.ts
CHANGED
|
@@ -14,7 +14,8 @@ import {
|
|
|
14
14
|
TMyoaMainDetaildbQuerys,
|
|
15
15
|
TMyoaMainMrokdbQuerys,
|
|
16
16
|
IMyoaMainSet4cardQuerys,
|
|
17
|
-
IMyoaMainCheckdbQuerys
|
|
17
|
+
IMyoaMainCheckdbQuerys,
|
|
18
|
+
IMyoaMainUploadd4Querys
|
|
18
19
|
} from "./types";
|
|
19
20
|
|
|
20
21
|
class ParaRequest {
|
|
@@ -213,6 +214,10 @@ class ParaRequest {
|
|
|
213
214
|
checkdb(querys: IMyoaMainCheckdbQuerys, params: object) {
|
|
214
215
|
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/checkdb", querys, params);
|
|
215
216
|
}
|
|
217
|
+
|
|
218
|
+
uploadd4(querys: IMyoaMainUploadd4Querys, params: object) {
|
|
219
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/myoastat/uploaddb", querys, params);
|
|
220
|
+
}
|
|
216
221
|
}
|
|
217
222
|
|
|
218
223
|
export default ParaRequest;
|
package/packages/myoa/types.ts
CHANGED
|
@@ -223,3 +223,11 @@ export class TMyoaMainSet4cardQuerys implements IMyoaMainSet4cardQuerys {
|
|
|
223
223
|
|
|
224
224
|
export interface IMyoaMainCheckdbQuerys {}
|
|
225
225
|
export class TMyoaMainCheckdbQuerys implements IMyoaMainCheckdbQuerys {}
|
|
226
|
+
|
|
227
|
+
export interface IMyoaMainUploadd4Querys {
|
|
228
|
+
/**单据状态 */
|
|
229
|
+
myoastat: number;
|
|
230
|
+
}
|
|
231
|
+
export class TMyoaMainUploadd4Querys implements IMyoaMainUploadd4Querys {
|
|
232
|
+
myoastat: number = 0;
|
|
233
|
+
}
|