@ningboyz/apis 1.0.59 → 1.0.61
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/index.ts +7 -0
- package/package.json +2 -2
- package/packages/index.ts +2 -0
- package/packages/wtui/main.ts +6 -0
package/index.ts
CHANGED
|
@@ -17,7 +17,10 @@ import GztbRequest from "./packages/gztb";
|
|
|
17
17
|
import AntvRequest from "./packages/antv";
|
|
18
18
|
import NotiRequest from "./packages/noti";
|
|
19
19
|
import ElemRequest from "./packages/elem";
|
|
20
|
+
import YzcgRequest from "./packages/yzcg";
|
|
21
|
+
import MyoaRequest from "./packages/myoa";
|
|
20
22
|
import { IAxiosConfig } from "./packages/axios";
|
|
23
|
+
|
|
21
24
|
class Request {
|
|
22
25
|
public static core: CoreRequest;
|
|
23
26
|
public static flow: FLowRequest;
|
|
@@ -38,6 +41,8 @@ class Request {
|
|
|
38
41
|
public static antv: AntvRequest;
|
|
39
42
|
public static noti: NotiRequest;
|
|
40
43
|
public static elem: ElemRequest;
|
|
44
|
+
public static yzcg: YzcgRequest;
|
|
45
|
+
public static myoa: MyoaRequest;
|
|
41
46
|
|
|
42
47
|
public static createRequest(config: IAxiosConfig) {
|
|
43
48
|
this.core = new CoreRequest(config);
|
|
@@ -59,6 +64,8 @@ class Request {
|
|
|
59
64
|
this.antv = new AntvRequest(config);
|
|
60
65
|
this.noti = new NotiRequest(config);
|
|
61
66
|
this.elem = new ElemRequest(config);
|
|
67
|
+
this.yzcg = new YzcgRequest(config);
|
|
68
|
+
this.myoa = new MyoaRequest(config);
|
|
62
69
|
}
|
|
63
70
|
}
|
|
64
71
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.61",
|
|
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.0.
|
|
20
|
+
"@ningboyz/types": "1.0.61",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/index.ts
CHANGED
package/packages/wtui/main.ts
CHANGED
|
@@ -74,6 +74,12 @@ class MainRequest {
|
|
|
74
74
|
uploadit(querys: IWtuiMainRecoverWtuiQuerys, params: object) {
|
|
75
75
|
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>(`/wtui/tmain/uploadit`, querys, params);
|
|
76
76
|
}
|
|
77
|
+
/** 循环备份
|
|
78
|
+
* @param querys
|
|
79
|
+
*/
|
|
80
|
+
detaild2(querys: IWtuiMainDetaildbQuerys) {
|
|
81
|
+
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tmain/detaild2", querys, undefined);
|
|
82
|
+
}
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export default MainRequest;
|