Ver código fonte

修改域名

xiaohaizhao 1 ano atrás
pai
commit
5726a87178
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      utils/Http.js

+ 3 - 2
utils/Http.js

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