GET api/RolesMemberlist?u={u}&t={t}&d={d}
获取角色列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
u |
用户ID |
integer |
Required |
t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
d |
PageNumber=[PageNumber,int],PageSize=[PageSize,int],ID=[角色ID,string] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取角色列表
DataResultListOfUserRoleName | Description | Type | Additional information |
---|---|---|---|
DataList | Collection of UserRole |
None. |
|
PageNum | integer |
None. |
|
PageSize | integer |
None. |
|
PageCount | integer |
None. |
|
PreviousIndex | integer |
None. |
|
NextIndex | integer |
None. |
|
RecordCount | integer |
None. |
|
Error | boolean |
None. |
|
ErrorInfo | Collection of string |
None. |
|
ExInfo | Exception |
None. |
Response Formats
application/json, text/json
Sample:
{ "_pageSize": 2, "_recordCount": 3, "_pageNum": 1, "_error": true, "_errorInfo": [ "sample string 1", "sample string 2" ], "_exInfo": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, "_dataList": [ { "ID": "3972181d-0575-4234-a06d-c212c4598157", "StaffID": 2, "StaffName": "sample string 3", "StaffMobliePhone": "sample string 4", "RoleID": "003dd724-10b7-4439-b6e0-d6ba29f8588e", "RoleName": "sample string 6", "LogoUrl": "sample string 7", "CreatorCompanyID": 8, "CategoryID": 9, "CompanyName": "sample string 10", "CreateTime": "2025-05-13T21:48:55.5890152+08:00", "UpdateTime": "2025-05-13T21:48:55.5890152+08:00" }, { "ID": "3972181d-0575-4234-a06d-c212c4598157", "StaffID": 2, "StaffName": "sample string 3", "StaffMobliePhone": "sample string 4", "RoleID": "003dd724-10b7-4439-b6e0-d6ba29f8588e", "RoleName": "sample string 6", "LogoUrl": "sample string 7", "CreatorCompanyID": 8, "CategoryID": 9, "CompanyName": "sample string 10", "CreateTime": "2025-05-13T21:48:55.5890152+08:00", "UpdateTime": "2025-05-13T21:48:55.5890152+08:00" } ] }