config.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // test 测试环境
  2. const test = {
  3. BASE_URL: 'http://120.79.166.78:19012',
  4. BASE_IMG_URL: 'https://file-dev.xyyxt.net/',
  5. WEBVIEW_URL: 'http://120.79.166.78:18001/',
  6. domain: 'h.xyyxt.net',
  7. tenantId: '867735392558919680', //详粤云学堂
  8. appid: 'wxd3c8ae80cf43a305',
  9. version: '1.0.2',
  10. TOP_LOGO: '/static/logo2.png',
  11. SCAN_LOGO: '/static/me/logo.png',
  12. NODE_ENV: 'dev'
  13. }
  14. const index = 0 // 测试环境
  15. // const index = 1 // 祥粤云学堂
  16. // const index = 2 // 祥粤学堂
  17. // const index = 3 // 勘设云学堂
  18. // const index = 4 // 中正云学堂
  19. // const index = 5 // 山西云学堂
  20. const set = [
  21. test,
  22. // 祥粤云学堂
  23. {
  24. BASE_URL: 'https://api.xyyxt.net',
  25. BASE_IMG_URL: 'https://file.xyyxt.net/',
  26. WEBVIEW_URL: 'https://m.xyyxt.net/',
  27. domain: 'h.xyyxt.net',
  28. tenantId: '867735392558919680',
  29. appid: 'wxd3c8ae80cf43a305',
  30. tenantName: '祥粤云学堂',
  31. version: '1.0.2',
  32. TOP_LOGO: '/static/logo2.png',
  33. SCAN_LOGO: '/static/me/logo.png',
  34. NODE_ENV: 'pro'
  35. },
  36. // 祥粤学堂
  37. {
  38. BASE_URL: 'https://api.xyyxt.net',
  39. BASE_IMG_URL: 'https://file.xyyxt.net/',
  40. WEBVIEW_URL: 'https://cm.xyyxt.net/',
  41. domain: '',
  42. tenantId: '667735392758919630',
  43. appid: 'wx871153afc95f55f4',
  44. tenantName: '祥粤学堂',
  45. version: '1.0.2',
  46. TOP_LOGO: '/static/logo2.png',
  47. SCAN_LOGO: '/static/me/logo.png',
  48. NODE_ENV: 'pro'
  49. },
  50. // 勘设云学堂
  51. {
  52. BASE_URL: 'https://api.xyyxt.net',
  53. BASE_IMG_URL: 'https://file.xyyxt.net/',
  54. WEBVIEW_URL: 'https://zstcm.xyyxt.net/',
  55. domain: '',
  56. tenantId: '567735392758918520',
  57. appid: 'wx29d0ad81e625ad81',
  58. tenantName: '勘设云学堂',
  59. version: '1.0.2',
  60. TOP_LOGO: '/static/logo520.png',
  61. SCAN_LOGO: '/static/me/logo520.png',
  62. NODE_ENV: 'pro',
  63. tips1:
  64. "中山勘设云学堂是中山市工程勘察设计行业协会和广东省祥粤建设职业培训学校联合打造的网络教育平台。",
  65. tips2:
  66. "广东省祥粤建设职业培训学校负责师资与培训资质,为中山学员提供考前、继续教育等培训,出具符合广东省要求的继续教育学时证明。",
  67. },
  68. // 中正云学堂
  69. {
  70. BASE_URL: 'https://api.xyyxt.net',
  71. BASE_IMG_URL: 'https://file.xyyxt.net/',
  72. WEBVIEW_URL: 'https://live.gdzzkj.net/',
  73. domain: 'h.gdzzkj.net',
  74. tenantId: '141250585240548145',
  75. appid: 'wx5872ef563d13dabf',
  76. tenantName: '中正云学堂',
  77. version: '1.0.2',
  78. TOP_LOGO: '/static/logo145.png',
  79. SCAN_LOGO: '/static/me/logo145.png',
  80. NODE_ENV: 'pro'
  81. },
  82. // 山西云学堂
  83. {
  84. BASE_URL: 'https://api.xyyxt.net',
  85. BASE_IMG_URL: 'https://file.xyyxt.net/',
  86. WEBVIEW_URL: 'https://sxlive.gdzzkj.net /',
  87. domain: 'sxm.gdzzkj.net',
  88. tenantId: '471722209971055962',
  89. appid: 'wx5872ef563d13dabf',
  90. tenantName: '山西云学堂',
  91. version: '1.0.2',
  92. TOP_LOGO: '/static/logo962.png',
  93. SCAN_LOGO: '/static/me/logo962.png',
  94. NODE_ENV: 'pro'
  95. }
  96. ]
  97. export default set[index]