@ningboyz/apis 1.6.91 → 1.6.92
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/yzcq/main.ts +7 -7
- package/packages/yzcq/types.ts +13 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.92",
|
|
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.
|
|
20
|
+
"@ningboyz/types": "1.6.92",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/yzcq/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TYzcq } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IYzcqMainDetaildbQuerys, IYzcqMainSelectdbQuerys } from "./types";
|
|
3
|
+
import { IYzcqMainDeletedbQuerys, IYzcqMainDetaildbQuerys, IYzcqMainInsertdbQuerys, IYzcqMainSelectdbQuerys, IYzcqMainUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class YzcqRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -23,7 +23,7 @@ class YzcqRequest {
|
|
|
23
23
|
* @param params
|
|
24
24
|
* @returns
|
|
25
25
|
*/
|
|
26
|
-
insertdb(params: object) {
|
|
26
|
+
insertdb(querys: IYzcqMainInsertdbQuerys, params: object) {
|
|
27
27
|
return this.httpRequest.post<TYzcq.IYzcqMainResponse[]>("/gapi/yzcq/tmain/insertdb", querys, params);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -32,8 +32,8 @@ class YzcqRequest {
|
|
|
32
32
|
* @param params
|
|
33
33
|
* @returns
|
|
34
34
|
*/
|
|
35
|
-
updatedb(params: object) {
|
|
36
|
-
return this.httpRequest.post<TYzcq.IYzcqMainResponse[]>("/gapi/yzcq/tmain/updatedb",
|
|
35
|
+
updatedb(querys: IYzcqMainUpdatedbQuerys, params: object) {
|
|
36
|
+
return this.httpRequest.post<TYzcq.IYzcqMainResponse[]>("/gapi/yzcq/tmain/updatedb", querys, params);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -41,7 +41,7 @@ class YzcqRequest {
|
|
|
41
41
|
* @param params
|
|
42
42
|
* @returns
|
|
43
43
|
*/
|
|
44
|
-
deletedb(params: object) {
|
|
44
|
+
deletedb(querys: IYzcqMainDeletedbQuerys, params: object) {
|
|
45
45
|
return this.httpRequest.post<TYzcq.IYzcqMainResponse[]>("/gapi/yzcq/tmain/deletedb", querys, params);
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -50,8 +50,8 @@ class YzcqRequest {
|
|
|
50
50
|
* @param querys
|
|
51
51
|
* @returns
|
|
52
52
|
*/
|
|
53
|
-
detaildb(querys: IYzcqMainDetaildbQuerys) {
|
|
54
|
-
return this.httpRequest.post<TYzcq.IYzcqMainResponse[]>("/gapi/yzcq/tmain/detaildb", querys);
|
|
53
|
+
detaildb(querys: IYzcqMainDetaildbQuerys, params: object) {
|
|
54
|
+
return this.httpRequest.post<TYzcq.IYzcqMainResponse[]>("/gapi/yzcq/tmain/detaildb", querys, params);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
package/packages/yzcq/types.ts
CHANGED
|
@@ -15,4 +15,16 @@ export interface IYzcqMainDetaildbQuerys {
|
|
|
15
15
|
|
|
16
16
|
export class TYzcqMainDetaildbQuerys implements IYzcqMainDetaildbQuerys {
|
|
17
17
|
yzcqmain: number = -1;
|
|
18
|
-
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface IYzcqMainInsertdbQuerys {}
|
|
21
|
+
|
|
22
|
+
export class TYzcqMainInsertdbQuerys implements IYzcqMainInsertdbQuerys {}
|
|
23
|
+
|
|
24
|
+
export interface IYzcqMainUpdatedbQuerys {}
|
|
25
|
+
|
|
26
|
+
export class TYzcqMainUpdatedbQuerys implements IYzcqMainUpdatedbQuerys {}
|
|
27
|
+
|
|
28
|
+
export interface IYzcqMainDeletedbQuerys {}
|
|
29
|
+
|
|
30
|
+
export class TYzcqMainDeletedbQuerys implements IYzcqMainDeletedbQuerys {}
|