소스 검색

调整接口地址

wangtao 3 주 전
부모
커밋
d3777e1ca1
1개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 7 3
      public/static/config.js

+ 7 - 3
public/static/config.js

@@ -18,9 +18,13 @@ if (window.location.host.indexOf('localhost') != -1 || window.location.host.inde
     // PLATFROM_CONFIG.images = "https://wx.ewoogi.com/file/" //线上图片--->正式
     // PLATFROM_CONFIG.fileUrl = "https://wx.ewoogi.com/file/" //xlsx文件访问路径--->正式
 } else {
-    PLATFROM_CONFIG.baseUrl = "https://wx.ewoogi.com/api/" //线上--->正式
-    PLATFROM_CONFIG.images = "https://wx.ewoogi.com/file/" //线上图片--->正式
-    PLATFROM_CONFIG.fileUrl = "https://wx.ewoogi.com/file/" //xlsx文件访问路径--->正式
+    PLATFROM_CONFIG.baseUrl = "https://qhome.usky.cn/uskypower/" //线上--->测试
+    PLATFROM_CONFIG.images = "https://qhome.usky.cn/file/" //线上图片--->测试
+    PLATFROM_CONFIG.fileUrl = "https://qhome.usky.cn/file/" //xlsx文件访问路径--->测试
+
+    // PLATFROM_CONFIG.baseUrl = "https://wx.ewoogi.com/api/" //线上--->正式
+    // PLATFROM_CONFIG.images = "https://wx.ewoogi.com/file/" //线上图片--->正式
+    // PLATFROM_CONFIG.fileUrl = "https://wx.ewoogi.com/file/" //xlsx文件访问路径--->正式
 }
 
 // 本地json文件请求路径