|
|
@@ -2,11 +2,11 @@ let count = null;
|
|
|
class HTTP {
|
|
|
constructor() {
|
|
|
let ENV = wx.getAccountInfoSync().miniProgram.envVersion;
|
|
|
- // ENV = 'release';
|
|
|
if (ENV === 'release') { // 正式版
|
|
|
this.baseUrl = "https://oms.idcgroup.com.cn:8079";
|
|
|
} else {
|
|
|
this.baseUrl = "http://61.164.207.46:8000";
|
|
|
+ // this.baseUrl = "https://oms.idcgroup.com.cn:8079";
|
|
|
}
|
|
|
console.log("接口地址:", this.baseUrl)
|
|
|
}
|