GET api/TMSApp/AuthUser/getUserInfoById?Ids={Ids}
根据用户ID获取用户信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Ids | string |
Required |
Body Parameters
None.
Response Information
Resource Description
根据用户ID获取用户信息
MsgBaseApiPageOfListOfuserName | Description | Type | Additional information |
---|---|---|---|
Status |
返回状态0:失败,1:成功 |
integer |
None. |
Msg |
返回消息 |
string |
None. |
Data |
返回数据内容,默认为空 |
Collection of user |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Msg": "sample string 2", "Data": [ { "CreateTimeStr": "2025-01-02", "BirthdayStr": "2025-01-02", "rolelist": [ { "RoleID": 1, "RoleName": "sample string 2", "Remark": "sample string 3", "Url": "sample string 4", "CorpID": 5, "IsDeleted": 64, "CreateBy": 7, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "sourceList": [ { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ], "CreateTimeStr": "2025-01-02", "userRoleList": [ { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ] }, { "RoleID": 1, "RoleName": "sample string 2", "Remark": "sample string 3", "Url": "sample string 4", "CorpID": 5, "IsDeleted": 64, "CreateBy": 7, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "sourceList": [ { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ], "CreateTimeStr": "2025-01-02", "userRoleList": [ { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ] } ], "ID": 3, "Account": "sample string 4", "NickName": "sample string 5", "Password": "sample string 6", "Sex": 1, "Birthday": "2025-01-02T20:42:23.6881047+08:00", "CorpID": 8, "PeriodValidity": "2025-01-02T20:42:23.6881047+08:00", "Phone": "sample string 10", "MobilePhone": "sample string 11", "Email": "sample string 12", "IDCard": "sample string 13", "UserType": 14, "Remark": "sample string 15", "Status": true, "UserPic": "sample string 16", "IsCorpPrimary": 17, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00", "Extend01": "sample string 21", "Extend02": "sample string 22", "Extend03": "sample string 23", "IsSingleLogin": 24 }, { "CreateTimeStr": "2025-01-02", "BirthdayStr": "2025-01-02", "rolelist": [ { "RoleID": 1, "RoleName": "sample string 2", "Remark": "sample string 3", "Url": "sample string 4", "CorpID": 5, "IsDeleted": 64, "CreateBy": 7, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "sourceList": [ { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ], "CreateTimeStr": "2025-01-02", "userRoleList": [ { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ] }, { "RoleID": 1, "RoleName": "sample string 2", "Remark": "sample string 3", "Url": "sample string 4", "CorpID": 5, "IsDeleted": 64, "CreateBy": 7, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "sourceList": [ { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "SRID": 1, "Text": "sample string 2", "Code": "sample string 3", "Remark": "sample string 4", "ResPID": 1, "ResType": 5, "SortNum": 6, "Icon": "sample string 7", "Url": "sample string 8", "IsDeleted": 64, "CreateBy": 10, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 12, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ], "CreateTimeStr": "2025-01-02", "userRoleList": [ { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" }, { "UserRoleId": 1, "UserId": 1, "RoleId": 1, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00" } ] } ], "ID": 3, "Account": "sample string 4", "NickName": "sample string 5", "Password": "sample string 6", "Sex": 1, "Birthday": "2025-01-02T20:42:23.6881047+08:00", "CorpID": 8, "PeriodValidity": "2025-01-02T20:42:23.6881047+08:00", "Phone": "sample string 10", "MobilePhone": "sample string 11", "Email": "sample string 12", "IDCard": "sample string 13", "UserType": 14, "Remark": "sample string 15", "Status": true, "UserPic": "sample string 16", "IsCorpPrimary": 17, "IsDeleted": 64, "CreateBy": 1, "CreateTime": "2025-01-02T20:42:23.6881047+08:00", "UpdateBy": 1, "UpdateTime": "2025-01-02T20:42:23.6881047+08:00", "Extend01": "sample string 21", "Extend02": "sample string 22", "Extend03": "sample string 23", "IsSingleLogin": 24 } ] }