menu和authority修改父级变为选择模式
This commit is contained in:
@@ -59,4 +59,19 @@ export const setDataAuthority = (data) => {
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// @Summary 修改角色
|
||||
// @Security ApiKeyAuth
|
||||
// @accept application/json
|
||||
// @Produce application/json
|
||||
// @Param data body model.SysAuthority true "修改角色"
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"设置成功"}"
|
||||
// @Router /authority/setDataAuthority [post]
|
||||
export const updateAuthority = (data) => {
|
||||
return service({
|
||||
url: "/authority/updateAuthority",
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user