@ningboyz/apis 1.2.125 → 1.2.127
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/card/room.ts +10 -1
- package/packages/card/types.ts +10 -0
- package/packages/core/skdw.ts +11 -2
- package/packages/core/types.ts +12 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.127",
|
|
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.127",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/card/room.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TCard } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { ICardRoomDetaildbQuerys, ICardRoomSelectdbQuerys } from "./types";
|
|
4
|
+
import { ICardRoomDetaildbQuerys, ICardRoomSelectdbQuerys, ICardRoomUpdated2Querys } from "./types";
|
|
5
5
|
|
|
6
6
|
class RoomRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -57,6 +57,15 @@ class RoomRequest {
|
|
|
57
57
|
deletedb(querys: IEmptyQuerys, params: object) {
|
|
58
58
|
return this.httpRequest.post<TCard.ICardRoomResponse[]>("/gapi/card/troom/deletedb", querys, params);
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 新增地址信息
|
|
63
|
+
* @param querys
|
|
64
|
+
* @returns
|
|
65
|
+
*/
|
|
66
|
+
updated2(querys: ICardRoomUpdated2Querys) {
|
|
67
|
+
return this.httpRequest.post<TCard.ICardRoomResponse[]>(`/gapi/card/troom/datahide/updatedb`, querys);
|
|
68
|
+
}
|
|
60
69
|
}
|
|
61
70
|
|
|
62
71
|
export default RoomRequest;
|
package/packages/card/types.ts
CHANGED
|
@@ -882,4 +882,14 @@ export interface ICardRoomDetaildbQuerys {
|
|
|
882
882
|
|
|
883
883
|
export class TCardRoomDetaildbQuerys implements ICardRoomDetaildbQuerys {
|
|
884
884
|
roommain: number = -1;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
export interface ICardRoomUpdated2Querys {
|
|
888
|
+
datahide: number;
|
|
889
|
+
roommain: number;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
export class TCardRoomUpdated2Querys implements ICardRoomUpdated2Querys {
|
|
893
|
+
datahide: number = -1;
|
|
894
|
+
roommain: number = -1;
|
|
885
895
|
}
|
package/packages/core/skdw.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { ICoreSkdwSelectdbQuerys } from "./types";
|
|
4
|
+
import { ICoreSkdwDetaildbQuerys, ICoreSkdwSelectdbQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class SkdwRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -32,7 +32,7 @@ class SkdwRequest {
|
|
|
32
32
|
* @param params
|
|
33
33
|
* @returns
|
|
34
34
|
*/
|
|
35
|
-
selectdb(querys:
|
|
35
|
+
selectdb(querys: ICoreSkdwSelectdbQuerys, params: object) {
|
|
36
36
|
return this.httpRequest.post<TCore.IUserAcnoResponse[]>("/core/tskdw/selectdb", querys, params);
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -44,6 +44,15 @@ class SkdwRequest {
|
|
|
44
44
|
deletedb(querys: IEmptyQuerys, params: object) {
|
|
45
45
|
return this.httpRequest.post<TCore.IUserAcnoResponse[]>("/core/tskdw/deletedb", querys, params);
|
|
46
46
|
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 银行账号详情
|
|
50
|
+
* @param params
|
|
51
|
+
* @returns
|
|
52
|
+
*/
|
|
53
|
+
detaildb(querys: ICoreSkdwDetaildbQuerys, params: object) {
|
|
54
|
+
return this.httpRequest.post<TCore.IUserAcnoResponse[]>("/core/tskdw/detaildb", querys, params);
|
|
55
|
+
}
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
export default SkdwRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -611,9 +611,19 @@ export class TCoreUserInsertdbQuerys implements ICoreUserInsertdbQuerys {
|
|
|
611
611
|
|
|
612
612
|
/** ========== skdw ========== */
|
|
613
613
|
export interface ICoreSkdwSelectdbQuerys {
|
|
614
|
-
|
|
614
|
+
datatype: number;
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
export class TCoreSkdwSelectdbQuerys implements ICoreSkdwSelectdbQuerys {
|
|
618
|
-
|
|
618
|
+
datatype: number = 0;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export interface ICoreSkdwDetaildbQuerys {
|
|
622
|
+
acnomain: number;
|
|
623
|
+
usermain: number;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export class TCoreSkdwDetaildbQuerys implements ICoreSkdwDetaildbQuerys {
|
|
627
|
+
acnomain: number = -1;
|
|
628
|
+
usermain: number = -1;
|
|
619
629
|
}
|