Procházet zdrojové kódy

修改接口地址

xiaohaizhao před 1 rokem
rodič
revize
5cd202a6a6
1 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. 3 4
      utils/Http.js

+ 3 - 4
utils/Http.js

@@ -2,11 +2,10 @@ class HTTP {
 	constructor() {
 		let ENV = wx.getAccountInfoSync().miniProgram.envVersion;
 		if (ENV === 'release') { // 正式版
-			// this.baseUrl = "https://lsa.cnyunl.com";
-			this.baseUrl = "https://www.cnyunl.com";
+			this.baseUrl = "https://cucu.cnyunl.com:8079";
 		} else {
-			this.baseUrl = "https://www.cnyunl.com";
-			// this.baseUrl = "http://61.164.207.46:8200";
+			// this.baseUrl = "https://www.cnyunl.com";
+			this.baseUrl = "http://61.164.207.46:8200";
 			// this.baseUrl = "https://cucu.cnyunl.com:8079";
 		}
 		console.log("接口地址:", this.baseUrl)