config.js 2.0 KB

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