动态路由大体实现
This commit is contained in:
12
QMPlusVuePage/src/api/menu.js
Normal file
12
QMPlusVuePage/src/api/menu.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import service from '@/utils/request'
|
||||
|
||||
// @Summary 用户登录
|
||||
// @Produce application/json
|
||||
// @Param 可以什么都不填 调一下即可
|
||||
// @Router /menu/getMenu [post]
|
||||
export const asyncMenu = () => {
|
||||
return service({
|
||||
url: "/menu/getMenu",
|
||||
method: 'post',
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user