@ningboyz/apis 1.3.196 → 1.3.198
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/japz/item.ts +19 -1
- package/packages/japz/types.ts +24 -0
- package/packages/wldy/page.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.198",
|
|
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.
|
|
20
|
+
"@ningboyz/types": "1.3.198",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/japz/item.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
2
|
import { TJapz } from "@ningboyz/types";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
IJapzItemCheckk9Querys,
|
|
5
|
+
IJapzItemCheckrgQuerys,
|
|
6
|
+
IJapzItemDeletedbQuerys,
|
|
7
|
+
IJapzItemDetailQuerys,
|
|
8
|
+
IJapzItemInsertdbQuerys,
|
|
9
|
+
IJapzItemSelectdbQuerys,
|
|
10
|
+
IJapzItemUpdatedbQuerys,
|
|
11
|
+
IJapzItemUploaddbQuerys,
|
|
12
|
+
IJapzItemUploadk9Querys
|
|
13
|
+
} from "./types";
|
|
4
14
|
|
|
5
15
|
class ItemRequest {
|
|
6
16
|
private httpRequest: HttpRequest;
|
|
@@ -35,6 +45,14 @@ class ItemRequest {
|
|
|
35
45
|
checkrg(querys: IJapzItemCheckrgQuerys, params: object) {
|
|
36
46
|
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/titem/checkrg", querys, params);
|
|
37
47
|
}
|
|
48
|
+
|
|
49
|
+
checkk9(querys: IJapzItemCheckk9Querys, params: object) {
|
|
50
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/titem/checkk9", querys, params);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
uploadk9(querys: IJapzItemUploadk9Querys, params: object) {
|
|
54
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/titem/uploadk9", querys, params);
|
|
55
|
+
}
|
|
38
56
|
}
|
|
39
57
|
|
|
40
58
|
export default ItemRequest;
|
package/packages/japz/types.ts
CHANGED
|
@@ -118,6 +118,30 @@ export class TJapzItemCheckrgQuerys implements IJapzItemCheckrgQuerys {
|
|
|
118
118
|
itemindx: number = -1;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
export interface IJapzItemCheckk9Querys {
|
|
122
|
+
sourcend: number;
|
|
123
|
+
sourceid: number;
|
|
124
|
+
itemindx: number;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export class TJapzItemCheckk9Querys implements IJapzItemCheckk9Querys {
|
|
128
|
+
sourcend: number = -1;
|
|
129
|
+
sourceid: number = -1;
|
|
130
|
+
itemindx: number = -1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface IJapzItemUploadk9Querys {
|
|
134
|
+
sourcend: number;
|
|
135
|
+
sourceid: number;
|
|
136
|
+
itemindx: number;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export class TJapzItemUploadk9Querys implements IJapzItemUploadk9Querys {
|
|
140
|
+
sourcend: number = -1;
|
|
141
|
+
sourceid: number = -1;
|
|
142
|
+
itemindx: number = -1;
|
|
143
|
+
}
|
|
144
|
+
|
|
121
145
|
//#K0km
|
|
122
146
|
export interface IJapzK0kmSelectdbQuerys {
|
|
123
147
|
sourcend: number;
|
package/packages/wldy/page.ts
CHANGED
|
@@ -89,7 +89,7 @@ class PageRequest {
|
|
|
89
89
|
* @returns
|
|
90
90
|
*/
|
|
91
91
|
syspathcUpdatedb(querys: IWldyPageSyspathcUpdatedb) {
|
|
92
|
-
return this.httpRequest.post<TWldy.IWldyPageResponse[]>("/wldy/tpage/syspathc/updatedb", querys, void 0);
|
|
92
|
+
return this.httpRequest.post<TWldy.IWldyPageResponse[]>("/gapi/wldy/tpage/syspathc/updatedb", querys, void 0);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|