Quellcode durchsuchen

修改配置文件

jun vor 2 Wochen
Ursprung
Commit
8eeb85e912
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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
 
 // 发送网络请求的函数