菜单编辑功能 api关联模式变更后台相关

This commit is contained in:
pixel
2019-09-26 13:13:42 +08:00
parent 9f615afdae
commit 59565c042d
8 changed files with 87 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
import service from '@/utils/request'
// @Summary 用户登录
// @Summary 用户登录 获取动态路由
// @Produce application/json
// @Param 可以什么都不填 调一下即可
// @Router /menu/getMenu [post]
@@ -27,7 +27,7 @@ export const getMenuList = (data) => {
}
// @Summary 获取menu列表
// @Summary 新增基础menu
// @Produce application/json
// @Param menu Object
// @Router /menu/getMenuList [post]
@@ -84,4 +84,17 @@ export const deleteBaseMenu = (data) => {
method: 'post',
data
})
}
// @Summary 修改menu列表
// @Produce application/json
// @Param menu Object
// @Router /menu/updataBaseMenu [post]
export const updataBaseMenu = (data) => {
return service({
url: "/menu/updataBaseMenu",
method: 'post',
data
})
}