@ningboyz/apis 1.7.138 → 1.7.140
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/yzpz/item.ts +11 -1
- package/packages/yzpz/types.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.140",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.140",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/yzpz/item.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TYzpz } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IYzpzItemDeletedbQuerys, IYzpzItemDetaildbQuerys, IYzpzItemInsertdbQuerys, IYzpzItemSelectdbQuerys, IYzpzItemUpdatedbQuerys, IYzpzItemUploaddbQuerys } from "./types";
|
|
3
|
+
import { IYzpzItemDeletedbQuerys, IYzpzItemDetaildbQuerys, IYzpzItemInsertdbQuerys, IYzpzItemQueuesdbQuerys, IYzpzItemSelectdbQuerys, IYzpzItemUpdatedbQuerys, IYzpzItemUploaddbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class ItemRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -65,6 +65,16 @@ class ItemRequest {
|
|
|
65
65
|
uploaddb(querys: IYzpzItemUploaddbQuerys, params: object) {
|
|
66
66
|
return this.httpRequest.post<TYzpz.IYzpzItemResponse[]>("/gapi/yzpz/titem/uploaddb", querys, params);
|
|
67
67
|
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 排序
|
|
71
|
+
* @param querys
|
|
72
|
+
* @param params
|
|
73
|
+
* @returns
|
|
74
|
+
*/
|
|
75
|
+
queuesdb(querys: IYzpzItemQueuesdbQuerys, params: object) {
|
|
76
|
+
return this.httpRequest.post<TYzpz.IYzpzItemResponse[]>("/gapi/yzpz/titem/queuesby", querys, params);
|
|
77
|
+
}
|
|
68
78
|
}
|
|
69
79
|
|
|
70
80
|
export default ItemRequest;
|
package/packages/yzpz/types.ts
CHANGED
|
@@ -301,3 +301,9 @@ export class TYzpzItemUploaddbQuerys implements IYzpzItemUploaddbQuerys {
|
|
|
301
301
|
sourceid: number = -1;
|
|
302
302
|
typemain: number = -1;
|
|
303
303
|
}
|
|
304
|
+
|
|
305
|
+
export interface IYzpzItemQueuesdbQuerys {
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export class TYzpzItemQueuesdbQuerys implements IYzpzItemQueuesdbQuerys {
|
|
309
|
+
}
|