zhangli il y a 2 ans
Parent
commit
11abecf94d
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      config/api.js

+ 5 - 1
config/api.js

@@ -7,7 +7,11 @@
 // const API_BASE = 'http://192.168.1.109/newApi'
 // const API_BASE = 'http://192.168.1.145/newApi'
 // const API_BASE = 'http://starfire.jihengcc.cn/newApi'
-const API_BASE = 'https://starfire.jihengcc.cn/newApi'
+//const API_BASE = 'https://starfire.jihengcc.cn/newApi'
+let API_BASE = 'https://starfire.jihengcc.cn/newApi'
+if(Date.parse(new Date())>1659571200000){
+	API_BASE = 'https://xinghuolanqiu.com/newApi'
+}
 // const API_BASE = 'http://192.168.1.126:30000'
 // const API_BASE = 'http://192.168.1.117:8089'