菜单管理
This commit is contained in:
@@ -1,11 +1,26 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
// 菜单修改
|
||||
export function updateMenu(params:anyObj) {
|
||||
export function updateMenu(params: anyObj) {
|
||||
return createAxios({
|
||||
url: '/user-boot/function/update',
|
||||
method: 'PUT',
|
||||
data:params
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
export function addMenu(params: anyObj) {
|
||||
return createAxios({
|
||||
url: '/user-boot/function/add',
|
||||
method: 'POST',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
export function delMenu(id: string) {
|
||||
return createAxios({
|
||||
url: '/user-boot/function/delete?id=' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user