@ningboyz/apis 1.6.126 → 1.6.128

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