@ningboyz/apis 1.2.91 → 1.2.93
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/path.ts +10 -2
- package/packages/core/types.ts +4 -0
- package/packages/hznk/type.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.93",
|
|
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.2.
|
|
20
|
+
"@ningboyz/types": "1.2.93",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/core/path.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { ICorePathDownloadGtbase64Querys, ICorePathRotationQuerys, ICorePathUploaddbQuerys } from "./types";
|
|
3
|
+
import { ICorePathDownloadGtbase64Querys, ICorePathPdfmergeQuerys, ICorePathRotationQuerys, ICorePathUploaddbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class PathRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -35,7 +35,15 @@ class PathRequest {
|
|
|
35
35
|
uploaddb(querys: ICorePathUploaddbQuerys, params: object) {
|
|
36
36
|
return this.httpRequest.postFile<TCore.IPathResponse[]>("/core/tpath/uploaddb", querys, params);
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
/**
|
|
39
|
+
* 图片合并pdf
|
|
40
|
+
* @param querys
|
|
41
|
+
* @param params
|
|
42
|
+
* @returns
|
|
43
|
+
*/
|
|
44
|
+
pdfmerge(querys: ICorePathPdfmergeQuerys, params: object) {
|
|
45
|
+
return this.httpRequest.post<TCore.IPathResponse[]>("/core/tpath/pdfmerge", querys, params);
|
|
46
|
+
}
|
|
39
47
|
/**
|
|
40
48
|
* 获取预览票据
|
|
41
49
|
* @returns
|
package/packages/core/types.ts
CHANGED
|
@@ -209,6 +209,10 @@ export class TCorePathDownloadGtbase64Querys implements ICorePathDownloadGtbase6
|
|
|
209
209
|
syspathc: number = -1;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
+
export interface ICorePathPdfmergeQuerys {}
|
|
213
|
+
|
|
214
|
+
export class TCorePathPdfmergeQuerys implements ICorePathPdfmergeQuerys {}
|
|
215
|
+
|
|
212
216
|
export interface ICorePathUploaddbQuerys {
|
|
213
217
|
txupload: number;
|
|
214
218
|
}
|