@ningboyz/apis 1.7.178 → 1.7.180
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 +8 -0
- package/packages/core/user.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.180",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.180",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1584,6 +1584,14 @@ export interface ICoreUserGet4RsQuerys {}
|
|
|
1584
1584
|
|
|
1585
1585
|
export class TCoreUserGet4RsQuerys implements ICoreUserGet4RsQuerys {}
|
|
1586
1586
|
|
|
1587
|
+
export interface ICoreUserGet4RsDataQuerys {
|
|
1588
|
+
unitmain: number;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
export class TCoreUserGet4RsDataQuerys implements ICoreUserGet4RsDataQuerys {
|
|
1592
|
+
unitmain: number = -1;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1587
1595
|
export interface ICoreUnitLoadSelectdbQuerys{
|
|
1588
1596
|
unitmain: number;
|
|
1589
1597
|
}
|
package/packages/core/user.ts
CHANGED
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
ICoreUserGet4LaidQuerys,
|
|
32
32
|
ICoreUserGet4MobileQuerys,
|
|
33
33
|
ICoreUserGet4PartQuerys,
|
|
34
|
+
ICoreUserGet4RsDataQuerys,
|
|
34
35
|
ICoreUserGet4RsQuerys,
|
|
35
36
|
ICoreUserGet4UnitQuerys,
|
|
36
37
|
ICoreUserGet4WlzfQuerys,
|
|
@@ -968,6 +969,11 @@ class UserRequest {
|
|
|
968
969
|
get4rs(querys: ICoreUserGet4RsQuerys, params: object) {
|
|
969
970
|
return this.httpRequest.post<TCore.IUserResponse[]>("/gapi/nhtf/tuser/selectdb", querys, params);
|
|
970
971
|
}
|
|
972
|
+
|
|
973
|
+
//获取人社工资数据
|
|
974
|
+
get4rsData(querys: ICoreUserGet4RsDataQuerys, params: object) {
|
|
975
|
+
return this.httpRequest.post<TCore.IUserResponse[]>("/gapi/nhtf/tdata/selectdb", querys, params);
|
|
976
|
+
}
|
|
971
977
|
}
|
|
972
978
|
|
|
973
979
|
export default UserRequest;
|