@ningboyz/apis 1.5.178 → 1.5.179
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/gztb/main.ts +3 -3
- package/packages/gztb/types.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.179",
|
|
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.5.
|
|
20
|
+
"@ningboyz/types": "1.5.179",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gztb/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TGztb } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IGztbMainDetaildbQuerys, IGztbMainInsertdbQuerys, IGztbMainSelectdbQuerys } from "./types";
|
|
3
|
+
import { IGztbMainDetaildbQuerys, IGztbMainInsertd2Querys, IGztbMainInsertdbQuerys, IGztbMainSelectdbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class MainRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -68,8 +68,8 @@ class MainRequest {
|
|
|
68
68
|
* @param params
|
|
69
69
|
* @returns
|
|
70
70
|
*/
|
|
71
|
-
insertd2(params: TGztb.IGztbMainResponse) {
|
|
72
|
-
return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/insertd2",
|
|
71
|
+
insertd2(querys: IGztbMainInsertd2Querys, params: TGztb.IGztbMainResponse) {
|
|
72
|
+
return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/insertd2", querys, params);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
package/packages/gztb/types.ts
CHANGED
|
@@ -26,3 +26,10 @@ export class TGztbMainInsertdbQuerys implements IGztbMainInsertdbQuerys {
|
|
|
26
26
|
menuuuid: string = "";
|
|
27
27
|
bodyfill: number = 0;
|
|
28
28
|
}
|
|
29
|
+
|
|
30
|
+
export interface IGztbMainInsertd2Querys {
|
|
31
|
+
menuuuid: string;
|
|
32
|
+
}
|
|
33
|
+
export class TGztbMainInsertd2Querys implements IGztbMainInsertd2Querys {
|
|
34
|
+
menuuuid: string = "";
|
|
35
|
+
}
|