@ningboyz/apis 1.1.73 → 1.1.76
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 +8 -0
- package/packages/core/user.ts +11 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.76",
|
|
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.1.
|
|
20
|
+
"@ningboyz/types": "1.1.76",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/core/types.ts
CHANGED
|
@@ -569,3 +569,11 @@ export interface ICoreUserUploaddbQuerys {
|
|
|
569
569
|
export class TCoreUserUploaddbQuerys implements ICoreUserUploaddbQuerys {
|
|
570
570
|
syspartc: number = 0;
|
|
571
571
|
}
|
|
572
|
+
|
|
573
|
+
export interface ICoreUserInsertdbQuerys {
|
|
574
|
+
syspartc: number;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export class TCoreUserInsertdbQuerys implements ICoreUserInsertdbQuerys {
|
|
578
|
+
syspartc: number = 0;
|
|
579
|
+
}
|
package/packages/core/user.ts
CHANGED
|
@@ -26,7 +26,8 @@ import {
|
|
|
26
26
|
ICoreDel4userQuerys,
|
|
27
27
|
ICoreUserUploadd2Querys,
|
|
28
28
|
ICoreUserUploadd3Querys,
|
|
29
|
-
ICoreUserUploaddbQuerys
|
|
29
|
+
ICoreUserUploaddbQuerys,
|
|
30
|
+
ICoreUserInsertdbQuerys
|
|
30
31
|
} from "./types";
|
|
31
32
|
import { IUserResponse } from "../../../types/src/core";
|
|
32
33
|
import { IParams } from "../type";
|
|
@@ -53,6 +54,15 @@ class UserRequest {
|
|
|
53
54
|
return this.httpRequest.post<TCore.IUserResponse[]>(`/core/tuser/insertdb`, undefined, params);
|
|
54
55
|
}
|
|
55
56
|
|
|
57
|
+
/**
|
|
58
|
+
* 新增用户
|
|
59
|
+
* @param querys
|
|
60
|
+
* @param params
|
|
61
|
+
*/
|
|
62
|
+
insertdb2(querys: ICoreUserInsertdbQuerys, params: object) {
|
|
63
|
+
return this.httpRequest.post<TCore.IUserResponse[]>(`/core/tuser/insertdb`, querys, params);
|
|
64
|
+
}
|
|
65
|
+
|
|
56
66
|
/**
|
|
57
67
|
* 更新用户
|
|
58
68
|
* @param params
|