获取除了父级以外的所有权限(树型)
GET
/auth/get_tree_child_auth请求参数
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
array [object {10}]
必需
id
integer
必需
auth_name
string
必需
auth_value
string
必需
type
integer
必需
priority
integer
必需
p_id
integer
必需
created_at
string
必需
updated_at
string
必需
deleted_at
null
必需
children
array [object {9}]
可选
message
string
必需
示例
{
"code": 0,
"data": [
{
"id": 0,
"auth_name": "string",
"auth_value": "string",
"type": 0,
"priority": 0,
"p_id": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": null,
"children": [
{
"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