@ningboyz/apis 1.5.121 → 1.5.123
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/wtui/types.ts +9 -0
- package/packages/wtui/user.ts +28 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.123",
|
|
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.5.
|
|
20
|
+
"@ningboyz/types": "1.5.123",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/wtui/types.ts
CHANGED
|
@@ -298,6 +298,15 @@ export class TWtuiUsercnfgSelectdbQuerys implements IWtuiUsercnfgSelectdbQuerys
|
|
|
298
298
|
useronly: number = -1;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
export interface IWtuiUsercnfgInsertdbQuerys {}
|
|
302
|
+
export class TWtuiUsercnfgInsertdbQuerys implements IWtuiUsercnfgInsertdbQuerys {}
|
|
303
|
+
|
|
304
|
+
export interface IWtuiUsercnfgUpdatedbQuerys {}
|
|
305
|
+
export class TWtuiUsercnfgUpdatedbQuerys implements IWtuiUsercnfgUpdatedbQuerys {}
|
|
306
|
+
|
|
307
|
+
export interface IWtuiUsercnfgDeletedbQuerys {}
|
|
308
|
+
export class TWtuiUsercnfgDeletedbQuerys implements IWtuiUsercnfgDeletedbQuerys {}
|
|
309
|
+
|
|
301
310
|
/** ========== view ========== */
|
|
302
311
|
export interface IWtuiViewSelectdbQuerys {
|
|
303
312
|
wtuimain: number;
|
package/packages/wtui/user.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TWtui } from "@ningboyz/types";
|
|
2
2
|
import { HttpRequest } from "../axios";
|
|
3
|
-
import { IWtuiUsercnfgGet4cnfgQuerys, IWtuiUsercnfgSelectdbQuerys } from "./types";
|
|
3
|
+
import { IWtuiUsercnfgDeletedbQuerys, IWtuiUsercnfgGet4cnfgQuerys, IWtuiUsercnfgInsertdbQuerys, IWtuiUsercnfgSelectdbQuerys, IWtuiUsercnfgUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class UserRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -34,6 +34,33 @@ class UserRequest {
|
|
|
34
34
|
usercnfgSelectdb(querys: IWtuiUsercnfgSelectdbQuerys) {
|
|
35
35
|
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/selectdb", querys, undefined);
|
|
36
36
|
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param 新增我的样式
|
|
41
|
+
* @returns
|
|
42
|
+
*/
|
|
43
|
+
usercnfgInsertdb(querys: IWtuiUsercnfgInsertdbQuerys, params: object) {
|
|
44
|
+
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/insertdb", querys, params);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @param 修改我的样式
|
|
50
|
+
* @returns
|
|
51
|
+
*/
|
|
52
|
+
usercnfgUpdatedb(querys: IWtuiUsercnfgUpdatedbQuerys, params: object) {
|
|
53
|
+
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/updatedb", querys, params);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @param 删除我的样式
|
|
59
|
+
* @returns
|
|
60
|
+
*/
|
|
61
|
+
usercnfgDeletedb(querys: IWtuiUsercnfgDeletedbQuerys, params: object) {
|
|
62
|
+
return this.httpRequest.post<TWtui.IWtuiUserCnfgResponse[]>("/gapi/wtui/tuser/usercnfg/deletedb", querys, params);
|
|
63
|
+
}
|
|
37
64
|
}
|
|
38
65
|
|
|
39
66
|
export default UserRequest;
|