获取该权限的子权限(只找一层)
GET
/auth/get_child_auth/{id}注意,查a权限的子权限,会返回a权限的子权限,但不会返回a这个权限
请求参数
Path 参数
id
string
必需
示例值:
1
示例代码
返回响应
成功(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,
"auth_name": "string",
"auth_value": "string",
"type": 0,
"priority": 0,
"p_id": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
]
},
"message": "string"
}
最后修改时间: a year ago