config copy.js 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. tenantName: "祥粤云学堂",
  13. host:
  14. process.env.NODE_ENV === "production"
  15. ? window.location.host
  16. : "120.79.166.78:19012",
  17. };
  18. const index = 0; // 测试环境
  19. // const index = 1 // 祥粤云学堂
  20. // const index = 2 // 祥粤学堂
  21. // const index = 3 // 勘设云学堂
  22. // const index = 4 // 中正云学堂
  23. // const index = 5 // 山西云学堂
  24. const set = [
  25. test,
  26. // 祥粤云学堂
  27. {
  28. BASE_URL: "https://api.xyyxt.net",
  29. BASE_IMG_URL: "https://file.xyyxt.net/",
  30. WEBVIEW_URL: "https://m.xyyxt.net/",
  31. domain: "h.xyyxt.net",
  32. tenantId: "867735392558919680",
  33. appid: "wxd3c8ae80cf43a305",
  34. tenantName: "祥粤云学堂",
  35. version: "1.0.2",
  36. TOP_LOGO: "/static/logo2.png",
  37. SCAN_LOGO: "/static/me/logo.png",
  38. },
  39. // 祥粤学堂
  40. {
  41. BASE_URL: "https://api.xyyxt.net",
  42. BASE_IMG_URL: "https://file.xyyxt.net/",
  43. WEBVIEW_URL: "https://cm.xyyxt.net/",
  44. domain: "",
  45. tenantId: "667735392758919630",
  46. appid: "wx871153afc95f55f4",
  47. tenantName: "祥粤学堂",
  48. version: "1.0.2",
  49. TOP_LOGO: "/static/logo2.png",
  50. SCAN_LOGO: "/static/me/logo.png",
  51. },
  52. // 勘设云学堂
  53. {
  54. BASE_URL: "https://api.xyyxt.net",
  55. BASE_IMG_URL: "https://file.xyyxt.net/",
  56. WEBVIEW_URL: "https://zstcm.xyyxt.net/",
  57. domain: "",
  58. tenantId: "567735392758918520",
  59. appid: "wx29d0ad81e625ad81",
  60. tenantName: "勘设云学堂",
  61. version: "1.0.2",
  62. TOP_LOGO: "/static/logo520.png",
  63. SCAN_LOGO: "/static/me/logo520.png",
  64. },
  65. // 中正云学堂
  66. {
  67. BASE_URL: "https://api.xyyxt.net",
  68. BASE_IMG_URL: "https://file.xyyxt.net/",
  69. WEBVIEW_URL: "https://live.gdzzkj.net/",
  70. domain: "h.gdzzkj.net",
  71. tenantId: "141250585240548145",
  72. appid: "wx5872ef563d13dabf",
  73. tenantName: "中正云学堂",
  74. version: "1.0.2",
  75. TOP_LOGO: "/static/logo145.png",
  76. SCAN_LOGO: "/static/me/logo145.png",
  77. },
  78. // 山西云学堂
  79. {
  80. BASE_URL: "https://api.xyyxt.net",
  81. BASE_IMG_URL: "https://file.xyyxt.net/",
  82. WEBVIEW_URL: "https://sxlive.gdzzkj.net /",
  83. domain: "sxm.gdzzkj.net",
  84. tenantId: "471722209971055962",
  85. appid: "wx5872ef563d13dabf",
  86. tenantName: "山西云学堂",
  87. version: "1.0.2",
  88. TOP_LOGO: "/static/logo962.png",
  89. SCAN_LOGO: "/static/me/logo962.png",
  90. },
  91. ];
  92. export default set[index];