@ningboyz/apis 1.4.7 → 1.4.8
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/core/dept.ts +3 -3
- package/packages/core/types.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.8",
|
|
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.4.
|
|
20
|
+
"@ningboyz/types": "1.4.8",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/dept.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { ICoreDeptDeletedbQuerys, ICoreDeptDetaildbQuerys, ICoreDeptInsertdbQuerys, ICoreDeptSelectdbQuerys, ICoreDeptUpdatedbQuerys, ICoreDeptUploadd2Querys, ICoreDeptUploadd3Querys } from "./types";
|
|
3
|
+
import { ICoreDeptDeletedbQuerys, ICoreDeptDetaildbQuerys, ICoreDeptInsertdbQuerys, ICoreDeptLiteGet4deptQuerys, ICoreDeptSelectdbQuerys, ICoreDeptUpdatedbQuerys, ICoreDeptUploadd2Querys, ICoreDeptUploadd3Querys } from "./types";
|
|
4
4
|
|
|
5
5
|
class DeptRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -12,8 +12,8 @@ class DeptRequest {
|
|
|
12
12
|
* 获取所有部门单位
|
|
13
13
|
* @returns
|
|
14
14
|
*/
|
|
15
|
-
deptliteGet4dept() {
|
|
16
|
-
return this.httpRequest.post<TCore.IDeptLiteResponse[]>("/core/tdept/deptlite/get4dept");
|
|
15
|
+
deptliteGet4dept(querys: ICoreDeptLiteGet4deptQuerys) {
|
|
16
|
+
return this.httpRequest.post<TCore.IDeptLiteResponse[]>("/core/tdept/deptlite/get4dept", querys, undefined);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
package/packages/core/types.ts
CHANGED
|
@@ -774,3 +774,12 @@ export class TCoreSkdwUploadddQuerys implements ICoreSkdwUploadddQuerys {
|
|
|
774
774
|
unitfrom: number = -1;
|
|
775
775
|
datatype: number = -1;
|
|
776
776
|
}
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
export interface ICoreDeptLiteGet4deptQuerys {
|
|
780
|
+
dataype: number;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export class TCoreDeptLiteGet4deptQuerys implements ICoreDeptLiteGet4deptQuerys {
|
|
784
|
+
dataype: number = -1;
|
|
785
|
+
}
|