编辑权限
POST
api/v1/role/update
接口描述
编辑权限
请求头
参数名
类型
描述
必填
Authorization
string
用户代理身份的凭证
必填
请求参数
参数名
类型
描述
必填
id
int
角色ID
必填
title
string
角色名称
必填
desc
string
角色描述
必填
rules
string
角色规则数组
必填
time
int
当前时间戳
必填
sign
stirng
签名,防止数据篡改
必填
响应参数
参数名
类型
描述
必填
status
int
错误码,0正确,其他表示有错误
必填
msg
string
提示信息
必填
datas
array
空
必填