Browse Source

接口 配置

shish 2 năm trước cách đây
mục cha
commit
def5c255a5
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      hdApp/src/constant/index.js

+ 4 - 0
hdApp/src/constant/index.js

@@ -8,6 +8,10 @@ const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}
 const extConfig = {apiHost:APIHOST,imgHost:IMGHOST,}
 const extConfig = {apiHost:APIHOST,imgHost:IMGHOST,}
 // #endif
 // #endif
 
 
+// #ifdef H5
+const extConfig = {apiHost:APIHOST,imgHost:IMGHOST,}
+// #endif
+
 // 常量索引
 // 常量索引
 const envVal = {
 const envVal = {
 	imgUrl: extConfig.imgHost,
 	imgUrl: extConfig.imgHost,