@ningboyz/apis 1.4.58 → 1.4.60
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 +9 -0
- package/pnpm-lock.yaml +0 -237
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.60",
|
|
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.60",
|
|
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,12 @@ export interface ICoreDeptLiteGet4deptQuerys {
|
|
|
794
794
|
export class TCoreDeptLiteGet4deptQuerys implements ICoreDeptLiteGet4deptQuerys {
|
|
795
795
|
datatype: number = -1;
|
|
796
796
|
}
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
export class ICoreDeptDeptBindUploaddbQuerys{
|
|
800
|
+
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
export class TCoreDeptDeptBindUploaddbQuerys implements ICoreDeptDeptBindUploaddbQuerys{
|
|
804
|
+
|
|
805
|
+
}
|
package/pnpm-lock.yaml
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
lockfileVersion: '9.0'
|
|
2
|
-
|
|
3
|
-
settings:
|
|
4
|
-
autoInstallPeers: true
|
|
5
|
-
excludeLinksFromLockfile: false
|
|
6
|
-
|
|
7
|
-
importers:
|
|
8
|
-
|
|
9
|
-
.:
|
|
10
|
-
dependencies:
|
|
11
|
-
'@ningboyz/types':
|
|
12
|
-
specifier: 1.4.41
|
|
13
|
-
version: 1.4.41
|
|
14
|
-
axios:
|
|
15
|
-
specifier: 1.8.4
|
|
16
|
-
version: 1.8.4
|
|
17
|
-
lodash:
|
|
18
|
-
specifier: ^4.17.21
|
|
19
|
-
version: 4.17.21
|
|
20
|
-
devDependencies:
|
|
21
|
-
'@types/lodash':
|
|
22
|
-
specifier: ^4.17.20
|
|
23
|
-
version: 4.17.20
|
|
24
|
-
|
|
25
|
-
packages:
|
|
26
|
-
|
|
27
|
-
'@aximario/json-tree@2.2.4':
|
|
28
|
-
resolution: {integrity: sha512-XGMJ+zuVQ0CRizo1d3ZTUKEvrTqKYbm2a00T6DnRFR36mzV6mexLUKRIk6repj3JKgLrj3iwW8aUFrOS4P7CEA==}
|
|
29
|
-
|
|
30
|
-
'@ningboyz/types@1.4.41':
|
|
31
|
-
resolution: {integrity: sha512-4Nldjl3m1RL8ROcmt8o+z6yjtbfIx8MEmoCYS68MkRTnkuK6LXwFFxUi82QYbwlYBy6zM74B/WFArhj8+6XtuQ==}
|
|
32
|
-
|
|
33
|
-
'@types/lodash@4.17.20':
|
|
34
|
-
resolution: {integrity: sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==}
|
|
35
|
-
|
|
36
|
-
asynckit@0.4.0:
|
|
37
|
-
resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
|
|
38
|
-
|
|
39
|
-
axios@1.8.4:
|
|
40
|
-
resolution: {integrity: sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==}
|
|
41
|
-
|
|
42
|
-
call-bind-apply-helpers@1.0.2:
|
|
43
|
-
resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
|
|
44
|
-
engines: {node: '>= 0.4'}
|
|
45
|
-
|
|
46
|
-
combined-stream@1.0.8:
|
|
47
|
-
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
|
|
48
|
-
engines: {node: '>= 0.8'}
|
|
49
|
-
|
|
50
|
-
delayed-stream@1.0.0:
|
|
51
|
-
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
|
|
52
|
-
engines: {node: '>=0.4.0'}
|
|
53
|
-
|
|
54
|
-
dunder-proto@1.0.1:
|
|
55
|
-
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
|
|
56
|
-
engines: {node: '>= 0.4'}
|
|
57
|
-
|
|
58
|
-
es-define-property@1.0.1:
|
|
59
|
-
resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
|
|
60
|
-
engines: {node: '>= 0.4'}
|
|
61
|
-
|
|
62
|
-
es-errors@1.3.0:
|
|
63
|
-
resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
|
|
64
|
-
engines: {node: '>= 0.4'}
|
|
65
|
-
|
|
66
|
-
es-object-atoms@1.1.1:
|
|
67
|
-
resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
|
|
68
|
-
engines: {node: '>= 0.4'}
|
|
69
|
-
|
|
70
|
-
es-set-tostringtag@2.1.0:
|
|
71
|
-
resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}
|
|
72
|
-
engines: {node: '>= 0.4'}
|
|
73
|
-
|
|
74
|
-
follow-redirects@1.15.9:
|
|
75
|
-
resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
|
|
76
|
-
engines: {node: '>=4.0'}
|
|
77
|
-
peerDependencies:
|
|
78
|
-
debug: '*'
|
|
79
|
-
peerDependenciesMeta:
|
|
80
|
-
debug:
|
|
81
|
-
optional: true
|
|
82
|
-
|
|
83
|
-
form-data@4.0.3:
|
|
84
|
-
resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
|
|
85
|
-
engines: {node: '>= 6'}
|
|
86
|
-
|
|
87
|
-
function-bind@1.1.2:
|
|
88
|
-
resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
|
|
89
|
-
|
|
90
|
-
get-intrinsic@1.3.0:
|
|
91
|
-
resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
|
|
92
|
-
engines: {node: '>= 0.4'}
|
|
93
|
-
|
|
94
|
-
get-proto@1.0.1:
|
|
95
|
-
resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
|
|
96
|
-
engines: {node: '>= 0.4'}
|
|
97
|
-
|
|
98
|
-
gopd@1.2.0:
|
|
99
|
-
resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
|
|
100
|
-
engines: {node: '>= 0.4'}
|
|
101
|
-
|
|
102
|
-
has-symbols@1.1.0:
|
|
103
|
-
resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
|
|
104
|
-
engines: {node: '>= 0.4'}
|
|
105
|
-
|
|
106
|
-
has-tostringtag@1.0.2:
|
|
107
|
-
resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
|
|
108
|
-
engines: {node: '>= 0.4'}
|
|
109
|
-
|
|
110
|
-
hasown@2.0.2:
|
|
111
|
-
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
|
|
112
|
-
engines: {node: '>= 0.4'}
|
|
113
|
-
|
|
114
|
-
lodash@4.17.21:
|
|
115
|
-
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
|
116
|
-
|
|
117
|
-
math-intrinsics@1.1.0:
|
|
118
|
-
resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
|
|
119
|
-
engines: {node: '>= 0.4'}
|
|
120
|
-
|
|
121
|
-
mime-db@1.52.0:
|
|
122
|
-
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
|
|
123
|
-
engines: {node: '>= 0.6'}
|
|
124
|
-
|
|
125
|
-
mime-types@2.1.35:
|
|
126
|
-
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
|
|
127
|
-
engines: {node: '>= 0.6'}
|
|
128
|
-
|
|
129
|
-
proxy-from-env@1.1.0:
|
|
130
|
-
resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
|
|
131
|
-
|
|
132
|
-
snapshots:
|
|
133
|
-
|
|
134
|
-
'@aximario/json-tree@2.2.4': {}
|
|
135
|
-
|
|
136
|
-
'@ningboyz/types@1.4.41':
|
|
137
|
-
dependencies:
|
|
138
|
-
'@aximario/json-tree': 2.2.4
|
|
139
|
-
lodash: 4.17.21
|
|
140
|
-
|
|
141
|
-
'@types/lodash@4.17.20': {}
|
|
142
|
-
|
|
143
|
-
asynckit@0.4.0: {}
|
|
144
|
-
|
|
145
|
-
axios@1.8.4:
|
|
146
|
-
dependencies:
|
|
147
|
-
follow-redirects: 1.15.9
|
|
148
|
-
form-data: 4.0.3
|
|
149
|
-
proxy-from-env: 1.1.0
|
|
150
|
-
transitivePeerDependencies:
|
|
151
|
-
- debug
|
|
152
|
-
|
|
153
|
-
call-bind-apply-helpers@1.0.2:
|
|
154
|
-
dependencies:
|
|
155
|
-
es-errors: 1.3.0
|
|
156
|
-
function-bind: 1.1.2
|
|
157
|
-
|
|
158
|
-
combined-stream@1.0.8:
|
|
159
|
-
dependencies:
|
|
160
|
-
delayed-stream: 1.0.0
|
|
161
|
-
|
|
162
|
-
delayed-stream@1.0.0: {}
|
|
163
|
-
|
|
164
|
-
dunder-proto@1.0.1:
|
|
165
|
-
dependencies:
|
|
166
|
-
call-bind-apply-helpers: 1.0.2
|
|
167
|
-
es-errors: 1.3.0
|
|
168
|
-
gopd: 1.2.0
|
|
169
|
-
|
|
170
|
-
es-define-property@1.0.1: {}
|
|
171
|
-
|
|
172
|
-
es-errors@1.3.0: {}
|
|
173
|
-
|
|
174
|
-
es-object-atoms@1.1.1:
|
|
175
|
-
dependencies:
|
|
176
|
-
es-errors: 1.3.0
|
|
177
|
-
|
|
178
|
-
es-set-tostringtag@2.1.0:
|
|
179
|
-
dependencies:
|
|
180
|
-
es-errors: 1.3.0
|
|
181
|
-
get-intrinsic: 1.3.0
|
|
182
|
-
has-tostringtag: 1.0.2
|
|
183
|
-
hasown: 2.0.2
|
|
184
|
-
|
|
185
|
-
follow-redirects@1.15.9: {}
|
|
186
|
-
|
|
187
|
-
form-data@4.0.3:
|
|
188
|
-
dependencies:
|
|
189
|
-
asynckit: 0.4.0
|
|
190
|
-
combined-stream: 1.0.8
|
|
191
|
-
es-set-tostringtag: 2.1.0
|
|
192
|
-
hasown: 2.0.2
|
|
193
|
-
mime-types: 2.1.35
|
|
194
|
-
|
|
195
|
-
function-bind@1.1.2: {}
|
|
196
|
-
|
|
197
|
-
get-intrinsic@1.3.0:
|
|
198
|
-
dependencies:
|
|
199
|
-
call-bind-apply-helpers: 1.0.2
|
|
200
|
-
es-define-property: 1.0.1
|
|
201
|
-
es-errors: 1.3.0
|
|
202
|
-
es-object-atoms: 1.1.1
|
|
203
|
-
function-bind: 1.1.2
|
|
204
|
-
get-proto: 1.0.1
|
|
205
|
-
gopd: 1.2.0
|
|
206
|
-
has-symbols: 1.1.0
|
|
207
|
-
hasown: 2.0.2
|
|
208
|
-
math-intrinsics: 1.1.0
|
|
209
|
-
|
|
210
|
-
get-proto@1.0.1:
|
|
211
|
-
dependencies:
|
|
212
|
-
dunder-proto: 1.0.1
|
|
213
|
-
es-object-atoms: 1.1.1
|
|
214
|
-
|
|
215
|
-
gopd@1.2.0: {}
|
|
216
|
-
|
|
217
|
-
has-symbols@1.1.0: {}
|
|
218
|
-
|
|
219
|
-
has-tostringtag@1.0.2:
|
|
220
|
-
dependencies:
|
|
221
|
-
has-symbols: 1.1.0
|
|
222
|
-
|
|
223
|
-
hasown@2.0.2:
|
|
224
|
-
dependencies:
|
|
225
|
-
function-bind: 1.1.2
|
|
226
|
-
|
|
227
|
-
lodash@4.17.21: {}
|
|
228
|
-
|
|
229
|
-
math-intrinsics@1.1.0: {}
|
|
230
|
-
|
|
231
|
-
mime-db@1.52.0: {}
|
|
232
|
-
|
|
233
|
-
mime-types@2.1.35:
|
|
234
|
-
dependencies:
|
|
235
|
-
mime-db: 1.52.0
|
|
236
|
-
|
|
237
|
-
proxy-from-env@1.1.0: {}
|