index.ts 1010 B

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