@ningboyz/apis 1.5.82 → 1.5.83
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/dict.ts +11 -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.5.
|
|
3
|
+
"version": "1.5.83",
|
|
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.5.
|
|
20
|
+
"@ningboyz/types": "1.5.83",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/dict.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { ICoreDictDetaildbQuerys, ICoreDictSelectdbQuerys, ICoreDictUploaddbQuerys } from "./types";
|
|
3
|
+
import { ICoreDictDetaildbQuerys, ICoreDictDetaildpQuerys, ICoreDictSelectdbQuerys, ICoreDictUploaddbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class DictRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -71,6 +71,16 @@ class DictRequest {
|
|
|
71
71
|
return this.httpRequest.post<TCore.IDictResponse[]>("/core/tdict/detaildb", querys, undefined);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* 批量字典信息详情
|
|
77
|
+
* @param querys
|
|
78
|
+
* @returns
|
|
79
|
+
*/
|
|
80
|
+
detaildp(querys: ICoreDictDetaildpQuerys, params: object) {
|
|
81
|
+
return this.httpRequest.post<TCore.IDictResponse[]>("/core/tdict/detaildp", querys, params);
|
|
82
|
+
}
|
|
83
|
+
|
|
74
84
|
/**
|
|
75
85
|
* 按字典类型
|
|
76
86
|
* @param params
|
package/packages/core/types.ts
CHANGED
|
@@ -123,6 +123,15 @@ export class TCoreDictDetaildbQuerys implements ICoreDictDetaildbQuerys {
|
|
|
123
123
|
dictmain: number = -1;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
|
|
127
|
+
export interface ICoreDictDetaildpQuerys {
|
|
128
|
+
dictmain: number;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export class TCoreDictDetaildpQuerys implements ICoreDictDetaildpQuerys {
|
|
132
|
+
dictmain: number = -1;
|
|
133
|
+
}
|
|
134
|
+
|
|
126
135
|
/** ========== laid ========== */
|
|
127
136
|
export interface ICoreLaidSelectdbQuerys {
|
|
128
137
|
unitmain: number;
|