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.

10 lines
530 B

8 months ago
8 months ago
8 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.37:8318/',//非代理地址
  6. WX_API: VUE_APP_PLATFORM === 'h5' ? '/' : 'http://work.lyjppt.com:8099/',//非代理地址
  7. // TEMP_HOST: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.39:48082/',
  8. httpPrefix: 'app-api/',
  9. imgUrl: 'http://jxtemp.oss-cn-hangzhou.aliyuncs.com/defaultImages/admin/bigImg/'
  10. };