@ningboyz/apis 1.0.151 → 1.0.152
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/wldy/page.ts +4 -3
- package/packages/wldy/type.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.152",
|
|
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.0.
|
|
20
|
+
"@ningboyz/types": "1.0.152",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/wldy/page.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TWldy } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IWldyPageSelectd2Querys, IWldyPageSelectdbQuerys
|
|
3
|
+
import {IWldyPageDetaildbQuerys, IWldyPageSelectd2Querys, IWldyPageSelectdbQuerys} from "./type";
|
|
4
4
|
|
|
5
5
|
class PageRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -52,10 +52,11 @@ class PageRequest {
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* 查看打印模板详情
|
|
55
|
+
* @param querys
|
|
55
56
|
* @param params
|
|
56
57
|
*/
|
|
57
|
-
detaildb(params: object) {
|
|
58
|
-
return this.httpRequest.post<TWldy.IWldyPageResponse[]>("/gapi/wldy/tpage/detaildb",
|
|
58
|
+
detaildb(querys: IWldyPageDetaildbQuerys, params: object) {
|
|
59
|
+
return this.httpRequest.post<TWldy.IWldyPageResponse[]>("/gapi/wldy/tpage/detaildb", querys, params);
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
|
package/packages/wldy/type.ts
CHANGED
|
@@ -38,3 +38,11 @@ export interface IWldyPageSelectd2Querys {
|
|
|
38
38
|
export class TWldyPageSelectd2Querys implements IWldyPageSelectd2Querys {
|
|
39
39
|
pageuses: string = "";
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
export interface IWldyPageDetaildbQuerys {
|
|
43
|
+
wldypage: number;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class TWldyPageDetaildbQuerys implements IWldyPageDetaildbQuerys {
|
|
47
|
+
wldypage: number = 0;
|
|
48
|
+
}
|