Sfoglia il codice sorgente

修改配置文件

jun 2 settimane fa
parent
commit
8eeb85e912
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      utils/request.js

+ 3 - 3
utils/request.js

@@ -1,9 +1,9 @@
 // 请求域名
-//var domain = 'https://kailin.dfwy.tech/'
-var domain = 'http://kailin.test/'
+var domain = 'https://kailin.dfwy.tech/'
+//var domain = 'http://kailin.test/'
 // #ifdef MP-WEIXIN
 // 'http://127.0.0.1:8000/';
-//domain = uni.getAccountInfoSync().miniProgram.envVersion == 'release' ? 'https://mall.findit.ltd/' : 'https://kailin.dfwy.tech/';
+domain = uni.getAccountInfoSync().miniProgram.envVersion == 'release' ? 'https://mall.findit.ltd/' : 'https://kailin.dfwy.tech/';
 // #endif
 
 // 发送网络请求的函数