@ningboyz/apis 1.7.32 → 1.7.34
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/wtui/main.ts +17 -1
- package/packages/wtui/types.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.34",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.34",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/wtui/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TWtui } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IWtuiMainCopywtuiQuerys, IWtuiMainDetaildbQuerys, IWtuiMainGet4viewQuerys, IWtuiMainRecoverWtuiQuerys, IWtuiMainSelectdbQuerys } from "./types";
|
|
3
|
+
import { IWtuiMainCopywtuiQuerys, IWtuiMainDetaild3Querys, IWtuiMainDetaildbQuerys, IWtuiMainGet4viewQuerys, IWtuiMainRecoverWtuiQuerys, IWtuiMainSelectdbQuerys, IWtuiMainUploaddbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class MainRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -98,6 +98,22 @@ class MainRequest {
|
|
|
98
98
|
detaild2(querys: IWtuiMainDetaildbQuerys) {
|
|
99
99
|
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tmain/detaild2", querys, undefined);
|
|
100
100
|
}
|
|
101
|
+
|
|
102
|
+
/** 备份
|
|
103
|
+
* @param querys
|
|
104
|
+
* @returns
|
|
105
|
+
*/
|
|
106
|
+
detaild3(querys: IWtuiMainDetaild3Querys, params: object) {
|
|
107
|
+
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tmain/detaild3", querys, params);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/** 还原
|
|
111
|
+
* @param querys
|
|
112
|
+
* @returns
|
|
113
|
+
*/
|
|
114
|
+
uploaddb(querys: IWtuiMainUploaddbQuerys, params: object) {
|
|
115
|
+
return this.httpRequest.post<TWtui.IWtuiMainResponse[]>("/wtui/tmain/detaild3/uploaddb", querys, params);
|
|
116
|
+
}
|
|
101
117
|
}
|
|
102
118
|
|
|
103
119
|
export default MainRequest;
|
package/packages/wtui/types.ts
CHANGED
|
@@ -169,6 +169,18 @@ export class TWtuiMainDetaildbQuerys implements IWtuiMainDetaildbQuerys {
|
|
|
169
169
|
wtuimain: number = -1;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
+
export interface IWtuiMainDetaild3Querys {}
|
|
173
|
+
|
|
174
|
+
export class TWtuiMainDetaild3Querys implements IWtuiMainDetaild3Querys {}
|
|
175
|
+
|
|
176
|
+
export interface IWtuiMainUploaddbQuerys {
|
|
177
|
+
override: number;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export class TWtuiMainUploaddbQuerys implements IWtuiMainUploaddbQuerys {
|
|
181
|
+
override: number = -1;
|
|
182
|
+
}
|
|
183
|
+
|
|
172
184
|
/** ========== menu ========== */
|
|
173
185
|
export interface IWtuiMenuSelectdbQuerys {
|
|
174
186
|
wtuimain: number;
|