global.config.js 2.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. const CONFIG = {
  2. baseUrl: 'http://192.168.0.17:8196/api', // 后台接、口请求地址
  3. baseShopUrl: 'https://yigefuwuapp.ycbrain.com/shop-api/api', // 后台接、口请求地址
  4. telRegex: "^[1]([3-9])[0-9]{9}$", //手机正则
  5. // assetsPath: 'https://yigefuwuapp.ycbrain.com/ycimg', // 静态资源路径
  6. // // assetsPath: 'https://shop.songhe1688.com/ycimg', // 静态资源路径
  7. // staticUrl: 'https://yigefuwuapp.ycbrain.com/ycimg', // 所有图片服务器地址 192.168.154.191:8196
  8. // baseUrl: 'http://192.168.0.17:8196/api', // 后台接、口请求地址
  9. // // baseUrl: 'http://192.168.0.101:8196/api', // 后台接、口请求地址
  10. // // baseUrl: 'http://192.168.0.17:8196/api', // 后台接、口请求地址
  11. // // baseUrl: 'http://119.45.192.122:1221/prod-api/api', // 后台接、口请求地址
  12. // // baseUrl: 'https://yigefuwuapp.ycbrain.com/prod-api/api', // 后台接、口请求地址
  13. // baseShopUrl: 'http://192.168.0.17:8196/api', // 后台接、口请求地址
  14. // // baseShopUrl: 'http://192.168.0.101:9020/baseshop/api', // 后台接、口请求地址
  15. // // baseShopUrl: 'http://192.168.0.17:9020/baseshop/api', // 后台接、口请求地址
  16. // // baseShopUrl: 'http://119.45.192.122:1221/shop-api/api', // 后台接、口请求地址
  17. // // baseShopUrl: 'https://yigefuwuapp.ycbrain.com/shop-api/api', // 后台接、口请求地址
  18. // //baseUrl: process.env.NODE_ENV == 'production'?'https://www.app.xjqcwd.cn/lida/api':'https://www.app.xjqcwd.cn/lida/api', //'https://test.lidashine.com:444/lida/api', // 后台接口请求地址
  19. // hostUrl: 'https://yigefuwuapp.ycbrain.com/yige-h5/#', // H5分享地址(前端运行地址)
  20. // telIdentity: "^[1-9][0-9]{5}(19[0-9]{2}|200[0-9]|2010)(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])[0-9]{3}[0-9xX]$", //身份证的正则表达式
  21. // twoMinNum: /^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/,
  22. // mailVerify: "^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$",
  23. // // imgURL: 'http://119.45.192.122:1221/upload',
  24. // // imgURL: 'https://yigefuwuapp.ycbrain.com/upload',
  25. // AlipayAppid: '2021003145626363', //支付宝appid
  26. // // redirect_uri: "https://shop.gncode.cn/h5/#", //h5 支付宝授权回调地址
  27. // bankLink: "https://apimg.alipay.com/combo.png?d=cashier&t=", // 银行卡logo地址
  28. };
  29. export default CONFIG;