@ningboyz/apis 1.7.32 → 1.7.33

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.7.32",
3
+ "version": "1.7.33",
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.32",
20
+ "@ningboyz/types": "1.7.33",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -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;
@@ -169,6 +169,14 @@ 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
+
178
+ export class TWtuiMainUploaddbQuerys implements IWtuiMainUploaddbQuerys {}
179
+
172
180
  /** ========== menu ========== */
173
181
  export interface IWtuiMenuSelectdbQuerys {
174
182
  wtuimain: number;