| 1234567891011121314151617181920212223242526 |
- const CONFIG = {
- // 开发环境配置
- development: {
- assetsPath: '/static', // 静态资源路径
- qqMapKey:'',
- // baseUrl: 'http://192.168.111.141:8080',
- // hostUrl: 'http://192.168.111.141:8080', // H5地址(前端运行地址)
- baseUrl: 'http://108.61.127.24:8080', // 后台接口请求地址 http://203.175.169.46:8080
- hostUrl: 'http://108.61.127.24:8080', // H5地址(前端运行地址)
- websocketUrl: '', // websocket服务端地址
- weixinAppId: '', // 微信公众号appid
- storeId: 0 //
- },
- // 生产环境配置
- production: {
- qqMapKey:'',
- assetsPath: '/static', // 静态资源路径
- baseUrl: 'http://108.61.127.24:8080', // 后台接口请求地址
- hostUrl: 'http://108.61.127.24:8080', // H5地址(前端运行地址)
- websocketUrl: '', // websocket服务端地址
- weixinAppId: '', // 微信公众号appid
- storeId: 0 //
- }
- };
- export default CONFIG[process.env.NODE_ENV];
|