index.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. const mapEnvVersion = {
  2. /**
  3. * 开发版
  4. */
  5. // develop: 'http://192.168.1.166:8080', // 张
  6. // develop: 'http://192.168.1.101:8080',
  7. // develop: 'http://192.168.0.157:8080',
  8. // develop: 'http://192.168.1.253:8080',
  9. // develop: 'http://192.168.0.19:8080', // 邓
  10. // develop: 'http://192.168.1.20:8080', // 黄
  11. // develop: 'http://192.168.0.11:8080', // 王
  12. // develop: 'http://192.168.1.21:8080', // 田
  13. // develop: 'http://74949mkfh190.vicp.fun', // 付
  14. // develop: 'http://47.109.84.152:8081', // 测试代理
  15. develop: 'http://192.168.1.242:8080', // 测试直连
  16. // develop: 'https://5ed0f7cc.r9.vip.cpolar.cn',
  17. // develop: 'https://25740642.r3.cpolar.top',
  18. // develop: 'https://smqjh.api.zswlgz.com',
  19. /**
  20. * 体验版
  21. */
  22. // trial: "http://192.168.1.166:8080/jeecg-boot",
  23. // trial: 'http://192.168.0.157:8080',
  24. // trial: 'http://47.109.84.152:8081',
  25. // trial: 'http://192.168.1.166:8080,
  26. trial: 'https://smqjh.api.zswlgz.com',
  27. /**
  28. * 正式版
  29. */
  30. release: 'https://smqjh.api.zswlgz.com',
  31. }
  32. /**
  33. * Base URL请求基本url
  34. */
  35. export const BASE_URL
  36. = mapEnvVersion[uni.getAccountInfoSync().miniProgram.envVersion]
  37. /**
  38. * 静态资源服务
  39. */
  40. export const StaticUrl = 'https://zswl-smqjh.oss-cn-chengdu.aliyuncs.com/static/static'