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.

21 lines
870 B

4 months ago
1 week ago
4 months ago
1 week ago
4 months ago
1 month ago
1 week ago
4 months ago
1 week ago
  1. const VUE_APP_PLATFORM = process.env.VUE_APP_PLATFORM || 'h5';
  2. // localIp = false
  3. let obj = {
  4. // H5_API: VUE_APP_PLATFORM === 'h5' ? 'http://question.ywxcw.cn' : '',//h5
  5. H5_API: VUE_APP_PLATFORM === 'h5' ? '/api' : '',//h5代理
  6. WX_API: VUE_APP_PLATFORM === 'h5' ? '/' : 'http://question.ywxcw.cn/',//非代理地址 不要忘记加/
  7. website: 'http://192.168.1.37',
  8. httpPrefix: 'api/',
  9. // httpPrefix: 'questionapi/',
  10. mapKey: 'P3EBZ-N2G3W-2X4RO-3YFCD-UBAV6-VCBYG',
  11. // 支付测试地址
  12. // preUrl: 'https://u8wbs.zyebank.cn/cem_ysb_u6/index.html',
  13. // const preUrl = 'https://u8wbs.zyebank.cn/cem_ysb_u8/index.html'
  14. // 生产地址
  15. preUrl: 'https://zmcht.zybank.com.cn/cem_ysb/index.html',
  16. };
  17. export default obj
  18. // http://123.6.232.1:8099/测试地址
  19. // http://192.168.1.43:8318/本地地址
  20. //http://question.ywxcw.cn/questionapi/正式地址