@ningboyz/apis 1.0.41 → 1.0.43
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 +1 -1
- package/packages/antv/type.ts +3 -0
- package/packages/card/type.ts +2 -0
- package/packages/core/laid.ts +14 -5
- package/packages/core/user.ts +3 -2
- package/packages/wtui/todo.ts +1 -1
package/package.json
CHANGED
package/packages/antv/type.ts
CHANGED
|
@@ -28,12 +28,15 @@ export interface IAntvMainGet5DataQuerys {
|
|
|
28
28
|
antvname: string;
|
|
29
29
|
cnfgname: string;
|
|
30
30
|
unittypetext: string;
|
|
31
|
+
[key: string]: string;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
export class TAntvMainGet5DataQuerys implements IAntvMainGet5DataQuerys {
|
|
34
35
|
antvname: string = "";
|
|
35
36
|
cnfgname: string = "";
|
|
36
37
|
unittypetext: string = "";
|
|
38
|
+
|
|
39
|
+
[key: string]: string;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
/** para */
|
package/packages/card/type.ts
CHANGED
|
@@ -111,11 +111,13 @@ export class TCardMainUpdatedbQuerys implements ICardMainUpdatedbQuerys {
|
|
|
111
111
|
export interface ICardMainUpdated3Querys {
|
|
112
112
|
fromcardstat: number;
|
|
113
113
|
unitmain: number;
|
|
114
|
+
datatype: number;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
export class TCardMainUpdated3Querys implements ICardMainUpdated3Querys {
|
|
117
118
|
fromcardstat: number = -1;
|
|
118
119
|
unitmain: number = -1;
|
|
120
|
+
datatype: number = -1;
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
export interface ICardMainDetaildbQuerys {
|
package/packages/core/laid.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
ICoreLaidInsertdbQuerys,
|
|
5
|
+
ICoreLaidSelectdbQuerys,
|
|
6
|
+
ICoreLaidUpdatedbQuerys,
|
|
7
|
+
ICoreLaidUploadd3Querys,
|
|
8
|
+
ICoreLaidUploadd4Querys,
|
|
9
|
+
TParams
|
|
10
|
+
} from "./types";
|
|
4
11
|
|
|
5
12
|
class LaidRequest {
|
|
6
13
|
private httpRequest: HttpRequest;
|
|
@@ -29,10 +36,11 @@ class LaidRequest {
|
|
|
29
36
|
/**
|
|
30
37
|
* 编辑存放地点
|
|
31
38
|
* @param querys
|
|
39
|
+
* @param params
|
|
32
40
|
* @returns
|
|
33
41
|
*/
|
|
34
|
-
updatedb(querys: ICoreLaidUpdatedbQuerys) {
|
|
35
|
-
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/updatedb", querys,
|
|
42
|
+
updatedb(querys: ICoreLaidUpdatedbQuerys, params: object) {
|
|
43
|
+
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/updatedb", querys, params);
|
|
36
44
|
}
|
|
37
45
|
|
|
38
46
|
/**
|
|
@@ -54,10 +62,11 @@ class LaidRequest {
|
|
|
54
62
|
/**
|
|
55
63
|
* 批量新增存放地点并建立树型
|
|
56
64
|
* @param querys
|
|
65
|
+
* @param params
|
|
57
66
|
* @returns
|
|
58
67
|
*/
|
|
59
|
-
uploadd3(querys: ICoreLaidUploadd3Querys) {
|
|
60
|
-
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/uploadd3", querys,
|
|
68
|
+
uploadd3(querys: ICoreLaidUploadd3Querys, params: object) {
|
|
69
|
+
return this.httpRequest.post<TCore.ILaidResponse[]>("/core/tlaid/uploadd3", querys, params);
|
|
61
70
|
}
|
|
62
71
|
|
|
63
72
|
/**
|
package/packages/core/user.ts
CHANGED
|
@@ -275,10 +275,11 @@ class UserRequest {
|
|
|
275
275
|
* 验证码输入判断
|
|
276
276
|
* 传当前浏览器的fp(visitorId),captcha:文本框输入的数值
|
|
277
277
|
* @param querys
|
|
278
|
+
* @param params
|
|
278
279
|
* @returns
|
|
279
280
|
*/
|
|
280
|
-
captcha2(querys: ICoreUserCaptcha2Querys) {
|
|
281
|
-
return this.httpRequest.post<string>("/core/tuser/captcha2", querys,
|
|
281
|
+
captcha2(querys: ICoreUserCaptcha2Querys, params: object) {
|
|
282
|
+
return this.httpRequest.post<string>("/core/tuser/captcha2", querys, params);
|
|
282
283
|
}
|
|
283
284
|
|
|
284
285
|
/**
|
package/packages/wtui/todo.ts
CHANGED
|
@@ -26,7 +26,7 @@ class TodoRequest {
|
|
|
26
26
|
* @param params
|
|
27
27
|
*/
|
|
28
28
|
deletedb(params: object) {
|
|
29
|
-
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>("/gapi/wtui/ttodo/deletedb", params);
|
|
29
|
+
return this.httpRequest.post<TWtui.IWtuiTodoResponse[]>("/gapi/wtui/ttodo/deletedb", undefined, params);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|