upd as mybatis-plus
parent
02075655ca
commit
adf04e603b
|
@ -12,7 +12,7 @@ export function listMenu(query) {
|
|||
// 查询菜单详细
|
||||
export function getMenu(menuId) {
|
||||
return request({
|
||||
url: '/system/menu/plus' + menuId,
|
||||
url: '/system/menu/plus/' + menuId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ export function roleMenuTreeselect(roleId) {
|
|||
// 新增菜单
|
||||
export function addMenu(data) {
|
||||
return request({
|
||||
url: '/system/menu/plus',
|
||||
url: '/system/menu/plus/',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
@ -45,7 +45,7 @@ export function addMenu(data) {
|
|||
// 修改菜单
|
||||
export function updateMenu(data) {
|
||||
return request({
|
||||
url: '/system/menu/plus',
|
||||
url: '/system/menu/plus/',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue