新增、修改角色信息
POST
/auth/updateRole/
接口描述
权限管理模块中新增、修改角色信息
请求参数
参数名
类型
描述
必填
role_id
string
角色ID,新增不填,修改必填。like: 7e9db9e
可选
role_name
string
角色名,新增不填,修改必填。 like: 管理员
可选
params_type
string
操作类型。新增:create,修改:update。必填
必填
status
int
启用状态。必填。启用1,禁用0
必填
can_search
int
是否有搜索权限。必填。是1,否0
必填
can_search_in
int
是否有查询入账流水权限。必填。是1,否0
必填
can_search_out
int
是否有查询出账流水权限。必填。是1,否0
必填
can_preview
int
是否有预览权限。必填。是1,否0
必填
can_download
int
是否有下载权限。必填。是1,否0
必填
can_update
int
是否有更新cookie权限。必填。是1,否0
必填
can_export
int
是否有导出权限。必填。是1,否0
必填
can_set
int
是否有设置他人权限权限。必填。是1,否0
必填
响应参数
参数名
类型
描述
必填
code
int
成功1, 失败0
必填
msg
string
错误信息(code=1时为空字符串)
必填