config.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. const index = 0 // 祥粤云学堂
  2. // const index = 1 // 祥粤学堂
  3. // const index = 2 // 勘设云学堂
  4. // const index = 3 // 中正学堂
  5. // const index = 4 // 测试环境
  6. const set = [
  7. // 祥粤云学堂
  8. {
  9. BASE_URL: 'https://api.xyyxt.net',
  10. BASE_IMG_URL: 'https://file.xyyxt.net/',
  11. WEBVIEW_URL: 'https://m.xyyxt.net/',
  12. domain: 'h.xyyxt.net',
  13. tenantId: '867735392558919680',
  14. appid: 'wxd3c8ae80cf43a305',
  15. version: '1.0.2'
  16. },
  17. // 祥粤学堂
  18. {
  19. BASE_URL: 'https://api.xyyxt.net',
  20. BASE_IMG_URL: 'https://file.xyyxt.net/',
  21. WEBVIEW_URL: 'https://cm.xyyxt.net/',
  22. domain: '',
  23. tenantId: '667735392758919630',
  24. appid: 'wx871153afc95f55f4',
  25. version: '1.0.2'
  26. },
  27. // 勘设云学堂
  28. {
  29. BASE_URL: 'https://api.xyyxt.net',
  30. BASE_IMG_URL: 'https://file.xyyxt.net/',
  31. WEBVIEW_URL: 'https://zstcm.xyyxt.net/',
  32. domain: '',
  33. tenantId: '567735392758918520',
  34. appid: 'wx29d0ad81e625ad81',
  35. version: '1.0.2'
  36. },
  37. // 中正学堂
  38. {
  39. BASE_URL: 'https://h.gdzzkj.net',
  40. BASE_IMG_URL: 'https://file.xyyxt.net/',
  41. WEBVIEW_URL: 'https://live.gdzzkj.net/',
  42. domain: 'h.gdzzkj.net',
  43. tenantId: '141250585240548145',
  44. appid: 'wx5872ef563d13dabf',
  45. version: '1.0.2'
  46. },
  47. // test 测试环境
  48. {
  49. BASE_URL: 'http://120.79.166.78:19012',
  50. BASE_IMG_URL: 'https://file-dev.xyyxt.net/',
  51. WEBVIEW_URL: 'http://120.79.166.78:18001/',
  52. domain: 'h.xyyxt.net',
  53. tenantId: '867735392558919680',
  54. appid: 'wxd3c8ae80cf43a305',
  55. version: '1.0.2'
  56. }
  57. ]
  58. export default set[index]