@ningboyz/apis 1.8.75 → 1.8.77
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/types.ts +33 -8
- package/packages/core/user.ts +13 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.77",
|
|
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.77",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1312,14 +1312,6 @@ export class TCoreUserDetaild2Querys implements ICoreUserDetaild2Querys {
|
|
|
1312
1312
|
usermain: number = -1;
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
|
-
export interface ICoreUserDetailddCardQuerys {
|
|
1316
|
-
usermain: number;
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
export class TCoreUserDetailddCardQuerys implements ICoreUserDetailddCardQuerys {
|
|
1320
|
-
usermain: number = -1;
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
1315
|
export interface ICoreUserUpdatedbStatQuerys {
|
|
1324
1316
|
usermain: number;
|
|
1325
1317
|
userstat: number;
|
|
@@ -1651,6 +1643,39 @@ export class TCoreUserInsertdbCardQuerys implements ICoreUserInsertdbCardQuerys
|
|
|
1651
1643
|
cardmain: number = -1;
|
|
1652
1644
|
}
|
|
1653
1645
|
|
|
1646
|
+
|
|
1647
|
+
export interface ICoreUserSelectdbCardQuerys {
|
|
1648
|
+
cardmain: number;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
export class TCoreUserSelectdbCardQuerys implements ICoreUserSelectdbCardQuerys {
|
|
1652
|
+
cardmain: number = -1;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
export interface ICoreUserDeletedbCardQuerys {
|
|
1656
|
+
cardmain: number;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
export class TCoreUserDeletedbCardQuerys implements ICoreUserDeletedbCardQuerys {
|
|
1660
|
+
cardmain: number = -1;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
export interface ICoreUserUpdatedbCardQuerys {
|
|
1664
|
+
cardmain: number;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
export class TCoreUserUpdatedbCardQuerys implements ICoreUserUpdatedbCardQuerys {
|
|
1668
|
+
cardmain: number = -1;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
export interface ICoreUserDetailddCardQuerys {
|
|
1672
|
+
cardmain: number;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
export class TCoreUserDetailddCardQuerys implements ICoreUserDetailddCardQuerys {
|
|
1676
|
+
cardmain: number = -1;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1654
1679
|
export interface ICoreSysSecretSelectdbQuerys{
|
|
1655
1680
|
|
|
1656
1681
|
}
|
package/packages/core/user.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TCore, TWlzf, TWtui } from "@ningboyz/types";
|
|
1
|
+
import { TCore, TWlzf, TWtui, TCard } from "@ningboyz/types";
|
|
2
2
|
import _ from "lodash";
|
|
3
3
|
import type { HttpRequest } from "../axios";
|
|
4
4
|
import { IEmptyQuerys, IParams } from "../type";
|
|
@@ -96,7 +96,10 @@ import {
|
|
|
96
96
|
ICoreUserWithflowTouchurlQuerys,
|
|
97
97
|
ICoreUserWithPageSelectdbQuerys,
|
|
98
98
|
ICoreUserWorkStatUpdatedbQuerys,
|
|
99
|
-
ICoreUserInsertdbCardQuerys
|
|
99
|
+
ICoreUserInsertdbCardQuerys,
|
|
100
|
+
ICoreUserSelectdbCardQuerys,
|
|
101
|
+
ICoreUserDeletedbCardQuerys,
|
|
102
|
+
ICoreUserUpdatedbCardQuerys
|
|
100
103
|
} from "./types";
|
|
101
104
|
|
|
102
105
|
class UserRequest {
|
|
@@ -993,27 +996,27 @@ class UserRequest {
|
|
|
993
996
|
|
|
994
997
|
/** 新增业主登记 */
|
|
995
998
|
insertdbCard(querys: ICoreUserInsertdbCardQuerys, params: object) {
|
|
996
|
-
return this.httpRequest.post<
|
|
999
|
+
return this.httpRequest.post<TCard.ICardUserResponse[]>("/gapi/card/tuser/insertdb", querys, params);
|
|
997
1000
|
}
|
|
998
1001
|
|
|
999
1002
|
/** 查询业主登记 */
|
|
1000
|
-
selectdbCard(querys:
|
|
1001
|
-
return this.httpRequest.post<
|
|
1003
|
+
selectdbCard(querys: ICoreUserSelectdbCardQuerys, params: object) {
|
|
1004
|
+
return this.httpRequest.post<TCard.ICardUserResponse[]>("/gapi/card/tuser/selectdb", querys, params);
|
|
1002
1005
|
}
|
|
1003
1006
|
|
|
1004
1007
|
/** 删除业主登记 */
|
|
1005
|
-
deletedbCard(querys:
|
|
1006
|
-
return this.httpRequest.post<
|
|
1008
|
+
deletedbCard(querys: ICoreUserDeletedbCardQuerys, params: object) {
|
|
1009
|
+
return this.httpRequest.post<TCard.ICardUserResponse[]>("/gapi/card/tuser/deletedb", querys, params);
|
|
1007
1010
|
}
|
|
1008
1011
|
|
|
1009
1012
|
/** 修改业主登记 */
|
|
1010
|
-
updatedbCard(querys:
|
|
1011
|
-
return this.httpRequest.post<
|
|
1013
|
+
updatedbCard(querys: ICoreUserUpdatedbCardQuerys, params: object) {
|
|
1014
|
+
return this.httpRequest.post<TCard.ICardUserResponse[]>("/gapi/card/tuser/updatedb", querys, params);
|
|
1012
1015
|
}
|
|
1013
1016
|
|
|
1014
1017
|
/** 获取用户详情(房产) */
|
|
1015
1018
|
detailddCard(querys: ICoreUserDetailddCardQuerys, params: object) {
|
|
1016
|
-
return this.httpRequest.post<
|
|
1019
|
+
return this.httpRequest.post<TCard.ICardUserResponse[]>("/gapi/core/tuser/detaildd", querys, params);
|
|
1017
1020
|
}
|
|
1018
1021
|
}
|
|
1019
1022
|
|