config.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // test 测试环境
  2. const test = {
  3. BASE_URL: "https://testapi.xyyxt.net",
  4. // BASE_URL: "http://120.79.166.78:19012",
  5. BASE_IMG_URL: "https://file-dev.xyyxt.net/",
  6. domain: "h.xyyxt.net",
  7. tenantId: "867735392558919680", //详粤云学堂
  8. appid: "wxd3c8ae80cf43a305",
  9. };
  10. const index = 0; // 测试环境
  11. // const index = 1; // 祥粤云学堂1
  12. // const index = 2 // 祥粤学堂
  13. // const index = 3 // 勘设云学堂1
  14. // const index = 4 // 中正学堂1
  15. // const index = 5 // 山西云学堂
  16. // const index = 6 // 预发布
  17. const set = [
  18. test,
  19. // 祥粤云学堂
  20. {
  21. BASE_URL: "https://api.xyyxt.net",
  22. BASE_IMG_URL: "https://file.xyyxt.net/",
  23. tenantId: "867735392558919680",
  24. appid: "wxd3c8ae80cf43a305",
  25. tenantName: "祥粤云学堂",
  26. },
  27. // 祥粤学堂
  28. {
  29. BASE_URL: "https://api.xyyxt.net",
  30. BASE_IMG_URL: "https://file.xyyxt.net/",
  31. tenantId: "667735392758919630",
  32. appid: "wx871153afc95f55f4",
  33. tenantName: "祥粤学堂",
  34. },
  35. // 勘设云学堂
  36. {
  37. BASE_URL: "https://api.xyyxt.net",
  38. BASE_IMG_URL: "https://file.xyyxt.net/",
  39. tenantId: "567735392758918520",
  40. appid: "wx29d0ad81e625ad81",
  41. tenantName: "勘设云学堂",
  42. },
  43. // 中正云学堂
  44. {
  45. BASE_URL: "https://api.xyyxt.net",
  46. BASE_IMG_URL: "https://file.xyyxt.net/",
  47. tenantId: "141250585240548145",
  48. appid: "wx5872ef563d13dabf",
  49. tenantName: "中正云学堂",
  50. },
  51. // 山西云学堂
  52. {
  53. BASE_URL: "https://api.xyyxt.net",
  54. BASE_IMG_URL: "https://file.xyyxt.net/",
  55. tenantId: "471722209971055962",
  56. appid: "wx5872ef563d13dabf",
  57. tenantName: "山西云学堂",
  58. },
  59. {
  60. BASE_URL: "https://test.xyyxt.net",
  61. BASE_IMG_URL: "https://file.xyyxt.net/",
  62. domain: "h.xyyxt.net",
  63. tenantId: "867735392558919680", //详粤云学堂
  64. appid: "wxd3c8ae80cf43a305",
  65. tenantName: "祥粤云学堂",
  66. },
  67. ];
  68. export default set[index];
  69. // #ifdef H5
  70. import vconsole from "vconsole";
  71. if (index == 0) {
  72. new vconsole();
  73. }
  74. // #endif