@ningboyz/apis 1.7.141 → 1.7.142
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/types.ts +9 -0
- package/packages/core/user.ts +3 -2
- package/packages/tabl/main.ts +12 -0
- package/packages/tabl/types.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.142",
|
|
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.142",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1569,3 +1569,12 @@ export class TCoreUnitUsersizeSelectdbQuerys implements ICoreUnitUsersizeSelectd
|
|
|
1569
1569
|
syspartc: number = -1;
|
|
1570
1570
|
userstat: number = -1;
|
|
1571
1571
|
}
|
|
1572
|
+
|
|
1573
|
+
/**新增用户角色 */
|
|
1574
|
+
export interface ICoreUserUsrpartcSet4unitQuerys {
|
|
1575
|
+
override: number;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
export class TCoreUserUsrpartcSet4unitQuerys implements ICoreUserUsrpartcSet4unitQuerys {
|
|
1579
|
+
override: number = -1;
|
|
1580
|
+
}
|
package/packages/core/user.ts
CHANGED
|
@@ -85,6 +85,7 @@ import {
|
|
|
85
85
|
ICoreUserUploadd4Querys,
|
|
86
86
|
ICoreUserUploaddbQuerys,
|
|
87
87
|
ICoreUserUsersizeSelectdbQuerys,
|
|
88
|
+
ICoreUserUsrpartcSet4unitQuerys,
|
|
88
89
|
ICoreUserVerifydbAuthcodeQuerys,
|
|
89
90
|
ICoreUserVerifydbDingdingQuerys,
|
|
90
91
|
ICoreUserWithPageSelectdbQuerys,
|
|
@@ -242,8 +243,8 @@ class UserRequest {
|
|
|
242
243
|
* @param params
|
|
243
244
|
* @returns
|
|
244
245
|
*/
|
|
245
|
-
usrpartcSet4unit(params: object) {
|
|
246
|
-
return this.httpRequest.post<TCore.IPartResponse[]>("/core/tuser/usrpartc/set4unit",
|
|
246
|
+
usrpartcSet4unit(querys: ICoreUserUsrpartcSet4unitQuerys, params: object) {
|
|
247
|
+
return this.httpRequest.post<TCore.IPartResponse[]>("/core/tuser/usrpartc/set4unit", querys, params);
|
|
247
248
|
}
|
|
248
249
|
|
|
249
250
|
/**
|
package/packages/tabl/main.ts
CHANGED
|
@@ -19,8 +19,10 @@ import {
|
|
|
19
19
|
ITablMainSelectcxQuerys,
|
|
20
20
|
ITablMainTablstatUpdatedb2Querys,
|
|
21
21
|
ITablMainTablstatUpdatedbQuerys,
|
|
22
|
+
ITablMainUpdatedbAsnormalQuerys,
|
|
22
23
|
ITablMainUpdatedbCommitQuerys,
|
|
23
24
|
ITablMainUpdatedbQuerys,
|
|
25
|
+
ITablMainUploaddbAsnormalQuerys,
|
|
24
26
|
TTablMainSelectdbQuerys
|
|
25
27
|
} from "./types";
|
|
26
28
|
|
|
@@ -252,6 +254,16 @@ class MainRequest {
|
|
|
252
254
|
tablstatUploaddb(querys: ITablMainTablstatUpdatedb2Querys, params: object) {
|
|
253
255
|
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/tablstat/uploaddb", querys, params);
|
|
254
256
|
}
|
|
257
|
+
|
|
258
|
+
/**修改asnormal 单个*/
|
|
259
|
+
updatedbAsnormal(querys: ITablMainUpdatedbAsnormalQuerys, params: object) {
|
|
260
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/asnormal/updatedb", querys, params);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**批量修改asnormal */
|
|
264
|
+
uploaddbAsnormal(querys: ITablMainUploaddbAsnormalQuerys, params: object) {
|
|
265
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/asnormal/uploaddb", querys, params);
|
|
266
|
+
}
|
|
255
267
|
}
|
|
256
268
|
|
|
257
269
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -236,3 +236,19 @@ export class TTablMainRestorestatusQuerys implements ITablMainRestorestatusQuery
|
|
|
236
236
|
export interface ITablMainTablstatUpdatedb2Querys {}
|
|
237
237
|
|
|
238
238
|
export class TTablMainTablstatUpdatedb2Querys implements ITablMainTablstatUpdatedb2Querys {}
|
|
239
|
+
|
|
240
|
+
export interface ITablMainUpdatedbAsnormalQuerys {
|
|
241
|
+
asnormal: number;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export class TTablMainUpdatedbAsnormalQuerys implements ITablMainUpdatedbAsnormalQuerys {
|
|
245
|
+
asnormal: number = -1;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export interface ITablMainUploaddbAsnormalQuerys {
|
|
249
|
+
asnormal: number;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export class TTablMainUploaddbAsnormalQuerys implements ITablMainUploaddbAsnormalQuerys {
|
|
253
|
+
asnormal: number = -1;
|
|
254
|
+
}
|