You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
431 B

9 months ago
9 months ago
  1. const VUE_APP_PLATFORM = process.env.VUE_APP_PLATFORM;
  2. // localIp = false
  3. module.exports = {
  4. H5_API: VUE_APP_PLATFORM === 'h5' ? '/api' : '',//h5代理
  5. WX_API: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.18:8318/',//非代理地址
  6. TEMP_HOST: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.39:48082/',
  7. httpPrefix: 'app-api/',
  8. imgUrl: 'http://jxtemp.oss-cn-hangzhou.aliyuncs.com/defaultImages/admin/bigImg/'
  9. };