@ningboyz/apis 1.3.1 → 1.3.2

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.3.1",
3
+ "version": "1.3.2",
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.3.1",
20
+ "@ningboyz/types": "1.3.2",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -14,7 +14,7 @@ class MainRequest {
14
14
  * @returns
15
15
  */
16
16
  selectdb(querys: IVaryMainSelectdbQuerys) {
17
- return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/tvary/tmain/selectdb", querys, undefined);
17
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/selectdb", querys, undefined);
18
18
  }
19
19
 
20
20
  /**
@@ -23,7 +23,7 @@ class MainRequest {
23
23
  * @returns
24
24
  */
25
25
  detaildb(querys: IVaryMainDetaildbQuerys) {
26
- return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/tvary/tmain/detaildb", querys, undefined);
26
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/detaildb", querys, undefined);
27
27
  }
28
28
 
29
29
  /**
@@ -32,7 +32,7 @@ class MainRequest {
32
32
  * @returns
33
33
  */
34
34
  insertdb(querys: IVaryMainInsertdbQuerys, params: object) {
35
- return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/tvary/tmain/insertdb", querys, params);
35
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/insertdb", querys, params);
36
36
  }
37
37
 
38
38
  /**
@@ -41,7 +41,7 @@ class MainRequest {
41
41
  * @returns
42
42
  */
43
43
  updatedb(querys: IVaryMainUpdatedbQuerys, params: object) {
44
- return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/tvary/tmain/updatedb", querys, params);
44
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/updatedb", querys, params);
45
45
  }
46
46
 
47
47
  /**
@@ -50,11 +50,11 @@ class MainRequest {
50
50
  * @returns
51
51
  */
52
52
  deletedb(querys: IVaryMainDeletedbQuerys, params: object) {
53
- return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/tvary/tmain/deletedb", querys, params);
53
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/deletedb", querys, params);
54
54
  }
55
55
 
56
56
  finished(querys: IVaryMainFinishedQuerys) {
57
- return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/tvary/tmain/finished", querys, undefined);
57
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/finished", querys, undefined);
58
58
  }
59
59
  }
60
60