@ningboyz/apis 1.3.148 → 1.3.149
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/mast.ts +10 -1
- package/packages/core/types.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.149",
|
|
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.3.
|
|
20
|
+
"@ningboyz/types": "1.3.149",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/mast.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { ICoreMasttQueuesbyQuerys, ICoreMasttSelectdbQuerys } from "./types";
|
|
3
|
+
import { ICoreMasttInsertdbCamelcaseQuerys, ICoreMasttQueuesbyQuerys, ICoreMasttSelectdbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class MastRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -23,6 +23,15 @@ class MastRequest {
|
|
|
23
23
|
queuesby(querys: ICoreMasttQueuesbyQuerys, params: object) {
|
|
24
24
|
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tmast/queuesby", querys, params);
|
|
25
25
|
}
|
|
26
|
+
|
|
27
|
+
// 新增用户
|
|
28
|
+
insertdbCamelcase(querys: ICoreMasttInsertdbCamelcaseQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<TCore.IUserResponse>("/core/tmast/insertdb/camelcase",querys, params);
|
|
30
|
+
}
|
|
31
|
+
// 更新用户
|
|
32
|
+
updatedbCamelcase(querys: ICoreMasttInsertdbCamelcaseQuerys, params: object) {
|
|
33
|
+
return this.httpRequest.post<TCore.IUserResponse>("/core/tmast/updatedb/camelcase",querys, params);
|
|
34
|
+
}
|
|
26
35
|
}
|
|
27
36
|
|
|
28
37
|
export default MastRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -724,3 +724,12 @@ export class TCoreBillcodeSelectdbInsertdbQuerys implements ICoreBillcodeSelectd
|
|
|
724
724
|
menuuses: string = "";
|
|
725
725
|
tablfrom: string = "withcore";
|
|
726
726
|
}
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
export interface ICoreMasttInsertdbCamelcaseQuerys {
|
|
730
|
+
syspartc: number;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export class TCoreMasttInsertdbCamelcaseQuerys implements ICoreMasttInsertdbCamelcaseQuerys {
|
|
734
|
+
syspartc: number = -1;
|
|
735
|
+
}
|