@ningboyz/apis 1.4.59 → 1.4.61
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 +11 -1
- package/packages/core/types.ts +8 -0
- package/pnpm-lock.yaml +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.61",
|
|
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.61",
|
|
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, ICoreDeptLiteGet4deptQuerys, ICoreDeptSelectdbQuerys, ICoreDeptUpdatedbQuerys, ICoreDeptUploadd2Querys, ICoreDeptUploadd3Querys } from "./types";
|
|
3
|
+
import { ICoreDeptDeletedbQuerys, ICoreDeptDeptBindUploaddbQuerys, ICoreDeptDetaildbQuerys, ICoreDeptInsertdbQuerys, ICoreDeptLiteGet4deptQuerys, ICoreDeptSelectdbQuerys, ICoreDeptUpdatedbQuerys, ICoreDeptUploadd2Querys, ICoreDeptUploadd3Querys } from "./types";
|
|
4
4
|
|
|
5
5
|
class DeptRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -93,6 +93,16 @@ class DeptRequest {
|
|
|
93
93
|
uploadd3(querys: ICoreDeptUploadd3Querys, params: object) {
|
|
94
94
|
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tdept/uploadd3", querys, params);
|
|
95
95
|
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 部门绑定第三方数据
|
|
99
|
+
* @param querys
|
|
100
|
+
* @param params
|
|
101
|
+
* @returns
|
|
102
|
+
*/
|
|
103
|
+
deptBindUploaddb(querys: ICoreDeptDeptBindUploaddbQuerys, params: object){
|
|
104
|
+
return this.httpRequest.post<TCore.IDeptBindResponse[]>("/core/tdept/deptbind/uploaddb", querys, params);
|
|
105
|
+
}
|
|
96
106
|
}
|
|
97
107
|
|
|
98
108
|
export default DeptRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -794,3 +794,11 @@ export interface ICoreDeptLiteGet4deptQuerys {
|
|
|
794
794
|
export class TCoreDeptLiteGet4deptQuerys implements ICoreDeptLiteGet4deptQuerys {
|
|
795
795
|
datatype: number = -1;
|
|
796
796
|
}
|
|
797
|
+
|
|
798
|
+
export interface ICoreDeptDeptBindUploaddbQuerys {
|
|
799
|
+
matchval: string;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export class TCoreDeptDeptBindUploaddbQuerys implements ICoreDeptDeptBindUploaddbQuerys {
|
|
803
|
+
matchval: string = "";
|
|
804
|
+
}
|
package/pnpm-lock.yaml
CHANGED
|
@@ -9,8 +9,8 @@ importers:
|
|
|
9
9
|
.:
|
|
10
10
|
dependencies:
|
|
11
11
|
'@ningboyz/types':
|
|
12
|
-
specifier: 1.4.
|
|
13
|
-
version: 1.4.
|
|
12
|
+
specifier: 1.4.60
|
|
13
|
+
version: 1.4.60
|
|
14
14
|
axios:
|
|
15
15
|
specifier: 1.8.4
|
|
16
16
|
version: 1.8.4
|
|
@@ -27,8 +27,8 @@ packages:
|
|
|
27
27
|
'@aximario/json-tree@2.2.4':
|
|
28
28
|
resolution: {integrity: sha512-XGMJ+zuVQ0CRizo1d3ZTUKEvrTqKYbm2a00T6DnRFR36mzV6mexLUKRIk6repj3JKgLrj3iwW8aUFrOS4P7CEA==}
|
|
29
29
|
|
|
30
|
-
'@ningboyz/types@1.4.
|
|
31
|
-
resolution: {integrity: sha512-
|
|
30
|
+
'@ningboyz/types@1.4.60':
|
|
31
|
+
resolution: {integrity: sha512-0mZVk0AkmUrrvGQ/DNUkx4HMo96HNXFGk3HSZuhOFCUPwTrjwGq0qAj6QLYPpswPh8L7EQ7d0DdR/TNjxc30+Q==}
|
|
32
32
|
|
|
33
33
|
'@types/lodash@4.17.20':
|
|
34
34
|
resolution: {integrity: sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==}
|
|
@@ -133,7 +133,7 @@ snapshots:
|
|
|
133
133
|
|
|
134
134
|
'@aximario/json-tree@2.2.4': {}
|
|
135
135
|
|
|
136
|
-
'@ningboyz/types@1.4.
|
|
136
|
+
'@ningboyz/types@1.4.60':
|
|
137
137
|
dependencies:
|
|
138
138
|
'@aximario/json-tree': 2.2.4
|
|
139
139
|
lodash: 4.17.21
|