@ningboyz/apis 1.8.135 → 1.8.136
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 +6 -0
- package/packages/core/user.ts +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.136",
|
|
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.136",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1672,6 +1672,12 @@ export class TCoreUserUpdatedbCardQuerys implements ICoreUserUpdatedbCardQuerys
|
|
|
1672
1672
|
cardmain: number = -1;
|
|
1673
1673
|
}
|
|
1674
1674
|
|
|
1675
|
+
export interface ICoreUserUploaddbCardCardQuerys {
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
export class TCoreUserUploaddbCardCardQuerys implements ICoreUserUploaddbCardCardQuerys {
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1675
1681
|
export interface ICoreUserDetailddCardQuerys {
|
|
1676
1682
|
usermain: number;
|
|
1677
1683
|
}
|
package/packages/core/user.ts
CHANGED
|
@@ -104,7 +104,8 @@ import {
|
|
|
104
104
|
ICoreUserUnbindCaQuerys,
|
|
105
105
|
ICoreUserBindSelectdbQuerys,
|
|
106
106
|
ICoreUserBindSaveitdbQuerys,
|
|
107
|
-
ICoreUserDetaildbQuerys
|
|
107
|
+
ICoreUserDetaildbQuerys,
|
|
108
|
+
ICoreUserUploaddbCardCardQuerys
|
|
108
109
|
} from "./types";
|
|
109
110
|
|
|
110
111
|
class UserRequest {
|
|
@@ -1019,6 +1020,12 @@ class UserRequest {
|
|
|
1019
1020
|
return this.httpRequest.post<TCard.ICardUserResponse[]>("/gapi/card/tuser/updatedb", querys, params);
|
|
1020
1021
|
}
|
|
1021
1022
|
|
|
1023
|
+
|
|
1024
|
+
/** 批量导入业主登记 */
|
|
1025
|
+
uploaddbCard(querys: ICoreUserUploaddbCardCardQuerys, params: object) {
|
|
1026
|
+
return this.httpRequest.post<TCard.ICardUserResponse[]>("/gapi/card/tuser/uploaddb", querys, params);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1022
1029
|
/** 获取用户详情(房产) */
|
|
1023
1030
|
detailddCard(querys: ICoreUserDetailddCardQuerys, params: object) {
|
|
1024
1031
|
return this.httpRequest.post<TCore.IUserResponse[]>("/gapi/core/tuser/detaildd", querys, params);
|