文档
测试

编辑或保存菜单

POST
/smart/permission/edit

请求参数

参数名
类型
描述
必填
id
string
示例:1 新增不需要传id或传0。 修改需要传id
必填
upId
string
示例:9。权限上级id
必填
type
string
示例:1 权限类型
必填
pointName
string
示例:权限名称
必填
url
string
示例: 对应地址 当前可以为空
必填
component
string
示例 组件地址 用于跳转或判断是否有下级菜单
必填
sort
string
示例:排序字段.
必填

响应参数

参数名
类型
描述
必填
success
boolean
示例:true
必填
message
string
示例:操作成功
必填
code
int
示例:200
必填
result
object
示例:null
必填
timestamp
int
示例:1627277786137
必填