@ningboyz/apis 1.6.156 → 1.6.157

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.156",
3
+ "version": "1.6.157",
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.156",
20
+ "@ningboyz/types": "1.6.157",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,7 @@
1
1
  import type { TCore } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import { ICoreDictDetaildbQuerys, ICoreDictDetaildpQuerys, ICoreDictSelectdbQuerys, ICoreDictUploaddbQuerys } from "./types";
4
+ import {IEmptyQuerys, IParams} from "../type";
4
5
 
5
6
  class DictRequest {
6
7
  private httpRequest: HttpRequest;
@@ -17,6 +18,15 @@ class DictRequest {
17
18
  return this.httpRequest.post<TCore.IDictResponse[]>("/core/tdict/selectdb", querys, undefined);
18
19
  }
19
20
 
21
+ /**
22
+ * 字典排序
23
+ * @param querys
24
+ * @returns
25
+ */
26
+ queuesby(querys: IEmptyQuerys, params: IParams<TCore.IDictResponse[]>) {
27
+ return this.httpRequest.post<TCore.IDictResponse[]>("/core/tdict/queuesby", querys, params);
28
+ }
29
+
20
30
  /**
21
31
  * 按字典类型获取
22
32
  * @param querys
@@ -1,6 +1,7 @@
1
1
  import type { TCore } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import { ICoreTypeDetaildbQuerys, ICoreTypeSelectdbQuerys, ICoreTypeUploaditQuerys } from "./types";
4
+ import {IParams} from "../type";
4
5
 
5
6
  class TypeRequest {
6
7
  private httpRequest: HttpRequest;
@@ -17,6 +18,16 @@ class TypeRequest {
17
18
  return this.httpRequest.post<TCore.ITypeResponse[]>("/core/ttype/selectdb", querys, undefined);
18
19
  }
19
20
 
21
+ /**
22
+ * 字典类型排序
23
+ * @param querys
24
+ * @param params
25
+ * @returns
26
+ */
27
+ queuesby(querys: ICoreTypeSelectdbQuerys, params: IParams<TCore.ITypeResponse[]> ) {
28
+ return this.httpRequest.post<TCore.ITypeResponse[]>("/core/ttype/queuesby", querys, undefined);
29
+ }
30
+
20
31
  /**
21
32
  * 获取字典类型列表
22
33
  * @returns