@ningboyz/apis 1.5.100 → 1.5.102
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/card/data.ts +9 -9
- package/packages/wldy/types.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.102",
|
|
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.102",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/card/data.ts
CHANGED
|
@@ -19,7 +19,7 @@ class DataRequest {
|
|
|
19
19
|
* @returns
|
|
20
20
|
*/
|
|
21
21
|
selectdb(querys: ICardDataSelectdbQuerys) {
|
|
22
|
-
return this.httpRequest.post<TCard.
|
|
22
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/selectdb", querys, undefined);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -28,7 +28,7 @@ class DataRequest {
|
|
|
28
28
|
* @param params
|
|
29
29
|
*/
|
|
30
30
|
uploaddb(querys: IEmptyQuerys, params: object) {
|
|
31
|
-
return this.httpRequest.post<TCard.
|
|
31
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/uploaddb", querys, params);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/**
|
|
@@ -38,7 +38,7 @@ class DataRequest {
|
|
|
38
38
|
* @returns
|
|
39
39
|
*/
|
|
40
40
|
insertdb(querys: IEmptyQuerys, params: object) {
|
|
41
|
-
return this.httpRequest.post<TCard.
|
|
41
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/insertdb", querys, params);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -48,7 +48,7 @@ class DataRequest {
|
|
|
48
48
|
* @returns
|
|
49
49
|
*/
|
|
50
50
|
updatedb(querys: IEmptyQuerys, params: object) {
|
|
51
|
-
return this.httpRequest.post<TCard.
|
|
51
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/updatedb", querys, params);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
@@ -58,7 +58,7 @@ class DataRequest {
|
|
|
58
58
|
* @returns
|
|
59
59
|
*/
|
|
60
60
|
deletedb(querys: IEmptyQuerys, params: object) {
|
|
61
|
-
return this.httpRequest.post<TCard.
|
|
61
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/deletedb", querys, params);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -67,7 +67,7 @@ class DataRequest {
|
|
|
67
67
|
* @returns
|
|
68
68
|
*/
|
|
69
69
|
repairdb(querys: IEmptyQuerys) {
|
|
70
|
-
return this.httpRequest.post<TCard.
|
|
70
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/repairdb", querys, undefined);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
@@ -76,7 +76,7 @@ class DataRequest {
|
|
|
76
76
|
* @returns
|
|
77
77
|
*/
|
|
78
78
|
todolist(querys: ICardDataTodolistQuerys) {
|
|
79
|
-
return this.httpRequest.post<TCard.
|
|
79
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/todolist", querys, undefined);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
/**
|
|
@@ -85,7 +85,7 @@ class DataRequest {
|
|
|
85
85
|
* @returns
|
|
86
86
|
*/
|
|
87
87
|
finished(querys: ICardDataFinishedQuerys) {
|
|
88
|
-
return this.httpRequest.post<TCard.
|
|
88
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/finished", querys, undefined);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -94,7 +94,7 @@ class DataRequest {
|
|
|
94
94
|
* @returns
|
|
95
95
|
*/
|
|
96
96
|
detaildb(querys: ICardDataDetaildbQuerys) {
|
|
97
|
-
return this.httpRequest.post<TCard.
|
|
97
|
+
return this.httpRequest.post<TCard.ICardDataResponse[]>("/gapi/card/tdata/detaildb", querys, undefined);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
package/packages/wldy/types.ts
CHANGED
|
@@ -69,13 +69,13 @@ export class TWldyDataCopyFromQuerys implements IWldyDataCopyFromQuerys {
|
|
|
69
69
|
|
|
70
70
|
export interface IWldyPageLoadDataQuerys {
|
|
71
71
|
wldypage: number;
|
|
72
|
-
billmain:
|
|
72
|
+
billmain: string;
|
|
73
73
|
billuuid: string;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export class TWldyPageLoadDataQuerys implements IWldyPageLoadDataQuerys {
|
|
77
77
|
wldypage: number = -1;
|
|
78
|
-
billmain:
|
|
78
|
+
billmain: string = "-1";
|
|
79
79
|
billuuid: string = "";
|
|
80
80
|
}
|
|
81
81
|
|