config.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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_IMG_URL: "https://file.xyyxt.net/",
  24. tenantId: "867735392558919680",
  25. appid: "wxd3c8ae80cf43a305",
  26. tenantName: "祥粤云学堂",
  27. },
  28. // 祥粤学堂
  29. {
  30. BASE_URL: "https://api.xyyxt.net",
  31. BASE_IMG_URL: "https://file.xyyxt.net/",
  32. tenantId: "667735392758919630",
  33. appid: "wx871153afc95f55f4",
  34. tenantName: "祥粤学堂",
  35. },
  36. // 勘设云学堂
  37. {
  38. BASE_URL: "https://api.xyyxt.net",
  39. BASE_IMG_URL: "https://file.xyyxt.net/",
  40. tenantId: "567735392758918520",
  41. appid: "wx29d0ad81e625ad81",
  42. tenantName: "勘设云学堂",
  43. },
  44. // 中正云学堂
  45. {
  46. BASE_URL: "https://api.xyyxt.net",
  47. BASE_IMG_URL: "https://file.xyyxt.net/",
  48. tenantId: "141250585240548145",
  49. appid: "wx5872ef563d13dabf",
  50. tenantName: "中正云学堂",
  51. },
  52. // 山西云学堂
  53. {
  54. BASE_URL: "https://api.xyyxt.net",
  55. BASE_IMG_URL: "https://file.xyyxt.net/",
  56. tenantId: "471722209971055962",
  57. appid: "wx5872ef563d13dabf",
  58. tenantName: "山西云学堂",
  59. },
  60. {
  61. BASE_URL: "https://test.xyyxt.net",
  62. BASE_IMG_URL: "https://file.xyyxt.net/",
  63. domain: "h.xyyxt.net",
  64. tenantId: "867735392558919680", //详粤云学堂
  65. appid: "wxd3c8ae80cf43a305",
  66. tenantName: "祥粤云学堂",
  67. },
  68. ];
  69. export default set[index];
  70. // #ifdef H5
  71. import vconsole from "vconsole";
  72. if (index == 0) {
  73. new vconsole();
  74. }
  75. // #endif