mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-06 05:57:58 +08:00
修改mock请求地址
This commit is contained in:
parent
31bb047dac
commit
2ffc8fe59d
@ -2,12 +2,12 @@ import api from '../index'
|
||||
|
||||
export default {
|
||||
// 后端获取路由数据
|
||||
routeList: () => api.get('mock/app/route/list', {
|
||||
routeList: () => api.get('app/route/list', {
|
||||
baseURL: '/mock/',
|
||||
}),
|
||||
|
||||
// 基于文件系统路由模式下,后端获取导航菜单数据
|
||||
menuList: () => api.get('mock/app/menu/list', {
|
||||
menuList: () => api.get('app/menu/list', {
|
||||
baseURL: '/mock/',
|
||||
}),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user