@ningboyz/apis 1.8.40 → 1.8.42
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/packages/hznj/bzgx.ts +32 -0
- package/packages/hznj/index.ts +3 -0
- package/packages/hznj/type.ts +50 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.42",
|
|
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.42",
|
|
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;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { THznj } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IHznjBzgxDeletedbQuerys, IHznjBzgxDetailQuerys, IHznjBzgxInsertdbQuerys, IHznjBzgxSelectdbQuerys, IHznjBzgxUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class BzgxRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IHznjBzgxSelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<THznj.IHznjBzgxResponse[]>("/gapi/hznj/tbzgx/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
insertdb(querys: IHznjBzgxInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<THznj.IHznjBzgxResponse[]>("/gapi/hznj/tbzgx/insertdb", querys, params);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
updatedb(querys: IHznjBzgxUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<THznj.IHznjBzgxResponse[]>("/gapi/hznj/tbzgx/updatedb", querys, params);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
detaildb(querys: IHznjBzgxDetailQuerys) {
|
|
24
|
+
return this.httpRequest.post<THznj.IHznjBzgxResponse[]>("/gapi/hznj/tbzgx/detaildb", querys, undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
deletedb(querys: IHznjBzgxDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<THznj.IHznjBzgxResponse[]>("/gapi/hznj/tbzgx/deletedb", querys, params);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default BzgxRequest;
|
package/packages/hznj/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ import ZbczRequest from "./zbcz";
|
|
|
10
10
|
import ZbjgRequest from "./zbjg";
|
|
11
11
|
import ZblyRequest from "./zbly";
|
|
12
12
|
import ZbthRequest from "./zbth";
|
|
13
|
+
import BzgxRequest from "./bzgx";
|
|
13
14
|
import MainRequest from "./main";
|
|
14
15
|
|
|
15
16
|
class HznjRequest {
|
|
@@ -24,6 +25,7 @@ class HznjRequest {
|
|
|
24
25
|
public zbjg: ZbjgRequest;
|
|
25
26
|
public zbly: ZblyRequest;
|
|
26
27
|
public zbth: ZbthRequest;
|
|
28
|
+
public bzgx: BzgxRequest;
|
|
27
29
|
public main: MainRequest;
|
|
28
30
|
|
|
29
31
|
constructor(config: IAxiosConfig) {
|
|
@@ -39,6 +41,7 @@ class HznjRequest {
|
|
|
39
41
|
this.zbjg = new ZbjgRequest(request);
|
|
40
42
|
this.zbly = new ZblyRequest(request);
|
|
41
43
|
this.zbth = new ZbthRequest(request);
|
|
44
|
+
this.bzgx = new BzgxRequest(request);
|
|
42
45
|
this.main = new MainRequest(request);
|
|
43
46
|
}
|
|
44
47
|
}
|
package/packages/hznj/type.ts
CHANGED
|
@@ -579,11 +579,9 @@ export class THznjZblrFinishedQuerys implements IHznjZblrFinishedQuerys {
|
|
|
579
579
|
useronly: number = -1;
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
export interface IHznjZblrExistzbjgQuerys {
|
|
583
|
-
}
|
|
582
|
+
export interface IHznjZblrExistzbjgQuerys {}
|
|
584
583
|
|
|
585
|
-
export class THznjZblrExistzbjgQuerys implements IHznjZblrExistzbjgQuerys {
|
|
586
|
-
}
|
|
584
|
+
export class THznjZblrExistzbjgQuerys implements IHznjZblrExistzbjgQuerys {}
|
|
587
585
|
|
|
588
586
|
export interface IHznjZblrInsertdbQuerys {
|
|
589
587
|
sourcend: number;
|
|
@@ -715,12 +713,9 @@ export class THznjZbjgFinishedQuerys implements IHznjZbjgFinishedQuerys {
|
|
|
715
713
|
useronly: number = -1;
|
|
716
714
|
}
|
|
717
715
|
|
|
716
|
+
export interface IHznjZbjgExistzblyQuerys {}
|
|
718
717
|
|
|
719
|
-
export
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
export class THznjZbjgExistzblyQuerys implements IHznjZbjgExistzblyQuerys {
|
|
723
|
-
}
|
|
718
|
+
export class THznjZbjgExistzblyQuerys implements IHznjZbjgExistzblyQuerys {}
|
|
724
719
|
|
|
725
720
|
export interface IHznjZbjgInsertdbQuerys {
|
|
726
721
|
sourcend: number;
|
|
@@ -793,11 +788,9 @@ export class THznjZblyFinishedQuerys implements IHznjZblyFinishedQuerys {
|
|
|
793
788
|
useronly: number = -1;
|
|
794
789
|
}
|
|
795
790
|
|
|
796
|
-
export interface IHznjZblyExistzbthQuerys {
|
|
797
|
-
}
|
|
791
|
+
export interface IHznjZblyExistzbthQuerys {}
|
|
798
792
|
|
|
799
|
-
export class THznjZblyExistzbthQuerys implements IHznjZblyExistzbthQuerys {
|
|
800
|
-
}
|
|
793
|
+
export class THznjZblyExistzbthQuerys implements IHznjZblyExistzbthQuerys {}
|
|
801
794
|
|
|
802
795
|
export interface IHznjZblyInsertdbQuerys {
|
|
803
796
|
sourcend: number;
|
|
@@ -1015,3 +1008,47 @@ export class THznjBaseQueuesdbQuerys implements IHznjBaseQueuesdbQuerys {}
|
|
|
1015
1008
|
|
|
1016
1009
|
export interface IHznjZbthCheckdbQuerys {}
|
|
1017
1010
|
export class THznjZbthCheckdbQuerys implements IHznjZbthCheckdbQuerys {}
|
|
1011
|
+
|
|
1012
|
+
/** #bzgx */
|
|
1013
|
+
export interface IHznjBzgxSelectdbQuerys {
|
|
1014
|
+
sourcend: number;
|
|
1015
|
+
withflow: number;
|
|
1016
|
+
useronly: number;
|
|
1017
|
+
queuesby: number;
|
|
1018
|
+
}
|
|
1019
|
+
export class THznjBzgxSelectdbQuerys implements IHznjBzgxSelectdbQuerys {
|
|
1020
|
+
sourcend: number = -1;
|
|
1021
|
+
withflow: number = -1;
|
|
1022
|
+
useronly: number = -1;
|
|
1023
|
+
queuesby: number = -1;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export interface IHznjBzgxInsertdbQuerys {
|
|
1027
|
+
sourcend: number;
|
|
1028
|
+
}
|
|
1029
|
+
export class THznjBzgxInsertdbQuerys implements IHznjBzgxInsertdbQuerys {
|
|
1030
|
+
sourcend: number = -1;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
export interface IHznjBzgxUpdatedbQuerys {
|
|
1034
|
+
sourcend: number;
|
|
1035
|
+
}
|
|
1036
|
+
export class THznjBzgxUpdatedbQuerys implements IHznjBzgxUpdatedbQuerys {
|
|
1037
|
+
sourcend: number = -1;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export interface IHznjBzgxDetailQuerys {
|
|
1041
|
+
sourcend: number;
|
|
1042
|
+
bzgxindx: number;
|
|
1043
|
+
}
|
|
1044
|
+
export class THznjBzgxDetailQuerys implements IHznjBzgxDetailQuerys {
|
|
1045
|
+
sourcend: number = -1;
|
|
1046
|
+
bzgxindx: number = -1;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
export interface IHznjBzgxDeletedbQuerys {
|
|
1050
|
+
sourcend: number;
|
|
1051
|
+
}
|
|
1052
|
+
export class THznjBzgxDeletedbQuerys implements IHznjBzgxDeletedbQuerys {
|
|
1053
|
+
sourcend: number = -1;
|
|
1054
|
+
}
|