@ningboyz/apis 1.2.130 → 1.2.131
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/bill/main.ts +10 -1
- package/packages/bill/types.ts +10 -0
- package/packages/card/fwcz.ts +11 -1
- package/packages/card/hyhb.ts +11 -1
- package/packages/card/room.ts +1 -10
- package/packages/card/types.ts +13 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.131",
|
|
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.131",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/bill/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TBill } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IBillMainDeletedbQuerys, IBillMainDetaildbQuerys, IBillMainInsertdbQuerys, IBillMainSelectdbQuerys, IBillMainUpdatedbQuerys } from "./types";
|
|
3
|
+
import { IBillMainDeletedbQuerys, IBillMainDetaildbQuerys, IBillMainInsertdbQuerys, IBillMainSelectdbQuerys, IBillMainUpdated2Querys, IBillMainUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class MainRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -73,6 +73,15 @@ class MainRequest {
|
|
|
73
73
|
finished() {
|
|
74
74
|
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/finished");
|
|
75
75
|
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 新增地址信息
|
|
79
|
+
* @param querys
|
|
80
|
+
* @returns
|
|
81
|
+
*/
|
|
82
|
+
updated2(querys: IBillMainUpdated2Querys) {
|
|
83
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/datahide/updatedb`, querys);
|
|
84
|
+
}
|
|
76
85
|
}
|
|
77
86
|
|
|
78
87
|
export default MainRequest;
|
package/packages/bill/types.ts
CHANGED
|
@@ -53,3 +53,13 @@ export class TBillCnfgSelectdbQuerys implements IBillCnfgSelectdbQuerys {}
|
|
|
53
53
|
|
|
54
54
|
export interface IBillCnfgSelectd2Querys {}
|
|
55
55
|
export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys {}
|
|
56
|
+
|
|
57
|
+
export interface IBillMainUpdated2Querys {
|
|
58
|
+
datahide: number;
|
|
59
|
+
billmain: number;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export class TBillMainUpdated2Querys implements IBillMainUpdated2Querys {
|
|
63
|
+
datahide: number = -1;
|
|
64
|
+
billmain: number = -1;
|
|
65
|
+
}
|
package/packages/card/fwcz.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 { ICardFwczDetaildbQuerys, ICardFwczSelectdbQuerys } from "./types";
|
|
4
|
+
import { ICardFwczDetaildbQuerys, ICardFwczSelectd2Querys, ICardFwczSelectdbQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class FwczRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -72,6 +72,16 @@ class FwczRequest {
|
|
|
72
72
|
finished() {
|
|
73
73
|
return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/finished");
|
|
74
74
|
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* 获取房屋出租列表-关联
|
|
78
|
+
* @param querys
|
|
79
|
+
* @param params
|
|
80
|
+
* @returns
|
|
81
|
+
*/
|
|
82
|
+
selectd2(querys: ICardFwczSelectd2Querys, params: object) {
|
|
83
|
+
return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/selectd2", querys, params);
|
|
84
|
+
}
|
|
75
85
|
}
|
|
76
86
|
|
|
77
87
|
export default FwczRequest;
|
package/packages/card/hyhb.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 { ICardHyhbDetaildbQuerys, ICardHyhbSelectdbQuerys } from "./types";
|
|
4
|
+
import { ICardHyhbDetaildbQuerys, ICardHyhbSelectd2Querys, ICardHyhbSelectdbQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class HyhbRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -57,6 +57,16 @@ class HyhbRequest {
|
|
|
57
57
|
deletedb(querys: IEmptyQuerys, params: object) {
|
|
58
58
|
return this.httpRequest.post<TCard.ICardHyhbResponse[]>("/gapi/card/thyhb/deletedb", querys, params);
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 获取决策会议列表-关联房源
|
|
63
|
+
* @param querys
|
|
64
|
+
* @param params
|
|
65
|
+
* @returns
|
|
66
|
+
*/
|
|
67
|
+
selectd2(querys: ICardHyhbSelectd2Querys, params: object) {
|
|
68
|
+
return this.httpRequest.post<TCard.ICardHyhbResponse[]>("/gapi/card/thyhb/selectd2", querys, params);
|
|
69
|
+
}
|
|
60
70
|
}
|
|
61
71
|
|
|
62
72
|
export default HyhbRequest;
|
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
|
|
4
|
+
import { ICardRoomDetaildbQuerys, ICardRoomSelectdbQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class RoomRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -57,15 +57,6 @@ 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
|
-
}
|
|
69
60
|
}
|
|
70
61
|
|
|
71
62
|
export default RoomRequest;
|
package/packages/card/types.ts
CHANGED
|
@@ -840,6 +840,11 @@ export class TCardHyhbDetaildbQuerys implements ICardHyhbDetaildbQuerys {
|
|
|
840
840
|
hyhbmain: number = -1;
|
|
841
841
|
}
|
|
842
842
|
|
|
843
|
+
export interface ICardHyhbSelectd2Querys {}
|
|
844
|
+
|
|
845
|
+
export class TCardHyhbSelectd2Querys implements ICardHyhbSelectd2Querys {}
|
|
846
|
+
|
|
847
|
+
|
|
843
848
|
/** ========== fwcz ==========*/
|
|
844
849
|
export interface ICardFwczSelectdbQuerys {
|
|
845
850
|
sourcend: number;
|
|
@@ -863,6 +868,14 @@ export class TCardFwczDetaildbQuerys implements ICardFwczDetaildbQuerys {
|
|
|
863
868
|
fwczmain: number = -1;
|
|
864
869
|
}
|
|
865
870
|
|
|
871
|
+
export interface ICardFwczSelectd2Querys {
|
|
872
|
+
fwczstat: number;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export class TCardFwczSelectd2Querys implements ICardFwczSelectd2Querys {
|
|
876
|
+
fwczstat: number = -1;
|
|
877
|
+
}
|
|
878
|
+
|
|
866
879
|
/** ========== room ==========*/
|
|
867
880
|
export interface ICardRoomSelectdbQuerys {
|
|
868
881
|
viewonly: number;
|
|
@@ -883,13 +896,3 @@ export interface ICardRoomDetaildbQuerys {
|
|
|
883
896
|
export class TCardRoomDetaildbQuerys implements ICardRoomDetaildbQuerys {
|
|
884
897
|
roommain: number = -1;
|
|
885
898
|
}
|
|
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;
|
|
895
|
-
}
|