menu和authority修改父级变为选择模式

This commit is contained in:
pixel
2020-04-15 16:37:53 +08:00
parent ea3f49d68a
commit cd0b1e0336
8 changed files with 206 additions and 33 deletions

View File

@@ -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
})
}