config.js 1.6 KB

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