@ningboyz/apis 1.6.107 → 1.6.108

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.6.107",
3
+ "version": "1.6.108",
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.6.107",
20
+ "@ningboyz/types": "1.6.108",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -80,15 +80,33 @@ class MainRequest {
80
80
  return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/finished", querys, params);
81
81
  }
82
82
 
83
- /**项目验收 */
83
+ /**
84
+ * 项目验收
85
+ * @param querys
86
+ * @param params
87
+ * @returns
88
+ */
84
89
  setaccept(querys: IHzcbMainSetAcceptQuerys, params: object) {
85
90
  return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/setaccept", querys, params);
86
91
  }
87
92
 
88
- /**项目拷贝 */
93
+ /**
94
+ * 项目拷贝
95
+ * @param querys
96
+ * @returns
97
+ */
89
98
  cloneone(querys: IHzcbMainCloneOneQuerys) {
90
99
  return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/cloneone", querys);
91
100
  }
101
+
102
+ /**
103
+ * 项目导入
104
+ * @param params
105
+ * @returns
106
+ */
107
+ uploaddb(params: object) {
108
+ return this.httpRequest.post<THzcb.IHzcbMainResponse[]>("/gapi/hzcb/tmain/uploaddb", undefined, params);
109
+ }
92
110
  }
93
111
 
94
112
  export default MainRequest;