@ningboyz/apis 1.8.39 → 1.8.41
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 +11 -0
- package/packages/core/types.ts +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.41",
|
|
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.8.
|
|
20
|
+
"@ningboyz/types": "1.8.41",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/path.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
|
+
ICorePathDeleted2Querys,
|
|
4
5
|
ICorePathDownloadGtbase64Querys,
|
|
5
6
|
ICorePathPdfmergeQuerys,
|
|
6
7
|
ICorePathPdfwaterQuerys,
|
|
@@ -89,6 +90,16 @@ class PathRequest {
|
|
|
89
90
|
zipmerge(querys: ICoreZipmergePdfwaterQuerys, params: object) {
|
|
90
91
|
return this.httpRequest.postFile<TCore.IPathResponse[]>("/gapi/core/tpath/zipmerge", querys, params);
|
|
91
92
|
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* pdf文件 文件清理(物理删除)
|
|
96
|
+
* @param querys
|
|
97
|
+
* @param params
|
|
98
|
+
* @returns
|
|
99
|
+
*/
|
|
100
|
+
deleted2(querys: ICorePathDeleted2Querys, params: object) {
|
|
101
|
+
return this.httpRequest.postFile<TCore.IPathResponse[]>("/gapi/core/tpath/deleted2", querys, params);
|
|
102
|
+
}
|
|
92
103
|
}
|
|
93
104
|
|
|
94
105
|
export default PathRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -1266,6 +1266,17 @@ export class TCoreZipmergePdfwaterQuerys implements ICoreZipmergePdfwaterQuerys
|
|
|
1266
1266
|
numberid: number = -1;
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
|
+
export interface ICorePathDeleted2Querys {
|
|
1270
|
+
thirdapp: string;
|
|
1271
|
+
fromdisk: number;
|
|
1272
|
+
}
|
|
1273
|
+
export class TCorePathDeleted2Querys implements ICorePathDeleted2Querys {
|
|
1274
|
+
thirdapp: string = "";
|
|
1275
|
+
fromdisk: number = 0;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
|
|
1269
1280
|
export interface ICoreUserSelectd2WithflowQuerys {
|
|
1270
1281
|
syspartc: number;
|
|
1271
1282
|
withflow: number;
|