21 lines
718 B
JavaScript
21 lines
718 B
JavaScript
var config = {
|
|
devBaseUrl: 'http://127.0.0.1:3000/api', // 开发基地址
|
|
testBaseUrl: 'http://127.0.0.1:3000/api', // 测试基地址
|
|
prodBaseUrl: 'http://127.0.0.1:3000/api', // 正式基地址
|
|
stage: 'dev', // dev test prod
|
|
apiList: {
|
|
threeMeals: '/index/threeMeals',
|
|
banner: '/index/banner',
|
|
type: '/index/type',
|
|
classList: '/index/class',
|
|
info: '/index/info',
|
|
search:'/search/list',
|
|
video:'/video/list',
|
|
},
|
|
footer: [
|
|
{ title: '首页', icon: 'home', path: './index.html' },
|
|
{ title: '视频', icon: 'video', path: './video.html' },
|
|
{ title: '分类', icon: 'type', path: './type.html' },
|
|
{ title: '收藏', icon: 'like', path: './my.html' },
|
|
]
|
|
} |