config.js 1.9 KB

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