23 lines
789 B
JavaScript
23 lines
789 B
JavaScript
import Vant from 'vant';
|
|
import 'vant/lib/index.css';
|
|
import Service from '../service'
|
|
|
|
export default {
|
|
DevUrl: 'http://127.0.0.1:3000/api/json',
|
|
ProdUrl: 'http://103.91.219.114:3000/api/json',
|
|
ApiList: {
|
|
index: '/index', // 获取首页接口吃撒从
|
|
info: '/info', // 进入详情
|
|
mechanism: '/mechanism', // 获取机构
|
|
mechanismList: '/mechanismList', // 获取机构下面的列表
|
|
type: '/class', // 获取首页顶部的分类
|
|
classList: '/classList', // 获取分类列表
|
|
allModel: '/allModel', // 所有模特
|
|
modelList: '/modelList', // 进入模特的个人主页
|
|
search: '/search', // 搜索接口
|
|
},
|
|
VuePlugs: [Vant],
|
|
NotVuePlugs: [
|
|
{ n: '$http', v: Service }
|
|
]
|
|
} |