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
获取角色列表
DataResultListOfUserRole| Name | 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": "157760a3-dca2-44f0-a12a-c1d4ba77f921",
"StaffID": 2,
"StaffName": "sample string 3",
"StaffMobliePhone": "sample string 4",
"RoleID": "8b36a780-8107-47be-acc7-6b4ad1b3c055",
"RoleName": "sample string 6",
"LogoUrl": "sample string 7",
"CreatorCompanyID": 8,
"CategoryID": 9,
"CompanyName": "sample string 10",
"CreateTime": "2025-12-16T23:28:56.9757428+08:00",
"UpdateTime": "2025-12-16T23:28:56.9757428+08:00"
},
{
"ID": "157760a3-dca2-44f0-a12a-c1d4ba77f921",
"StaffID": 2,
"StaffName": "sample string 3",
"StaffMobliePhone": "sample string 4",
"RoleID": "8b36a780-8107-47be-acc7-6b4ad1b3c055",
"RoleName": "sample string 6",
"LogoUrl": "sample string 7",
"CreatorCompanyID": 8,
"CategoryID": 9,
"CompanyName": "sample string 10",
"CreateTime": "2025-12-16T23:28:56.9757428+08:00",
"UpdateTime": "2025-12-16T23:28:56.9757428+08:00"
}
]
}