新增权限
POST
/auth/create请求参数
Body 参数application/json
p_id
integer
必需
auth_name
string
必需
auth_value
string
必需
type
integer
必需
priority
integer
必需
示例
{
"p_id": 0,
"auth_name": "string",
"auth_value": "string",
"type": 0,
"priority": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
object
必需
rows
array [object {7}]
必需
count
integer
必需
message
string
必需
示例
{
"code": 0,
"data": {
"rows": [
{
"id": 0,
"auth_name": "string",
"auth_description": "string",
"p_id": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
],
"count": 0
},
"message": "string"
}
最后修改时间: 1 年前