获取我的角色
GET
/role/get_my_role请求参数
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
object
必需
total
integer
必需
result
array [object {9}]
必需
message
string
必需
示例
{
"code": 0,
"data": {
"total": 0,
"result": [
{
"id": 0,
"role_name": "string",
"role_value": "string",
"type": 0,
"priority": 0,
"p_id": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
]
},
"message": "string"
}
最后修改时间: 1 年前