1234567891011121314151617181920 |
- const CONFIG = {
- // 开发环境配置
- development: {
- assetsPath: '/static', // 静态资源路径
- baseUrl: 'http://120.46.209.97:8088/prod-api', // 后台接口请求地址
- hostUrl: '', // H5地址(前端运行地址)
- weixinAppId: '' // 微信公众号appid
- },
- // 生产环境配置
- production: {
- assetsPath: '/static', // 静态资源路径
- baseUrl: 'http://120.46.209.97:8088/prod-api', // 后台接口请求地址
- hostUrl: '', // H5地址(前端运行地址)
- weixinAppId: '' // 微信公众号appid
- }
- };
- export default CONFIG[process.env.NODE_ENV];
|