소스 검색

修改配置文件

jun 2 주 전
부모
커밋
8eeb85e912
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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
 
 // 发送网络请求的函数