index.ts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.0.217:8080',
  11. // develop: 'http://192.168.1.89:8080', // 田
  12. // develop: 'http://74949mkfh190.vicp.fun', // 付
  13. // develop: 'http://47.109.84.152:8081',
  14. develop: 'https://smqjh.api.zswlgz.com',
  15. /**
  16. * 体验版
  17. */
  18. // trial: "http://192.168.1.166:8080/jeecg-boot",
  19. // trial: 'http://192.168.0.157:8080',
  20. // trial: 'http://47.109.84.152:8081',
  21. // trial: 'http://192.168.1.166:8080',
  22. trial: 'https://smqjh.api.zswlgz.com',
  23. /**
  24. * 正式版
  25. */
  26. release: 'https://smqjh.api.zswlgz.com',
  27. }
  28. /**
  29. * Base URL请求基本url
  30. */
  31. export const BASE_URL
  32. = mapEnvVersion[uni.getAccountInfoSync().miniProgram.envVersion]
  33. /**
  34. * 静态资源服务
  35. */
  36. export const StaticUrl = 'https://zswl-smqjh.oss-cn-chengdu.aliyuncs.com/static/static'