@ningboyz/apis 1.6.127 → 1.6.129
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/sysmenu.ts +8 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.129",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.129",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/sysmenu.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { TCore, TWldy } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
4
|
ICoreBillcodeSelectdbInsertdbQuerys,
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
} from "./types";
|
|
11
11
|
import type { TFlow } from "@ningboyz/types";
|
|
12
12
|
|
|
13
|
+
|
|
13
14
|
class SysmenuRequest {
|
|
14
15
|
private httpRequest: HttpRequest;
|
|
15
16
|
constructor(httpRequest: HttpRequest) {
|
|
@@ -30,8 +31,12 @@ class SysmenuRequest {
|
|
|
30
31
|
* @param querys
|
|
31
32
|
* @returns
|
|
32
33
|
*/
|
|
33
|
-
withExpdDetaildb(querys: ICoreSysmenuWithExpdDetaildbQuerys) {
|
|
34
|
-
|
|
34
|
+
async withExpdDetaildb(querys: ICoreSysmenuWithExpdDetaildbQuerys) {
|
|
35
|
+
const response = await this.httpRequest.post<TCore.ISysMenuWithExpdResponse[]>("/core/tsysmenu/withexpd/detaildb", querys, undefined);
|
|
36
|
+
if (response.ONSTATUS && response.LISTDATA.length > 0) {
|
|
37
|
+
TCore.TSysMenuWithExpdResponse.parseJsons(response.LISTDATA);
|
|
38
|
+
}
|
|
39
|
+
return response;
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
/**
|