feat 地址更新
This commit is contained in:
@@ -10,11 +10,11 @@ const config = {
|
||||
}
|
||||
|
||||
function getBaseUrl() {
|
||||
var baseUrl = 'http://127.0.0.1:8503'
|
||||
var baseUrl = 'http://127.0.0.1:18503'
|
||||
//#ifdef MP-WEIXIN
|
||||
const accountInfo = uni.getAccountInfoSync();
|
||||
if (accountInfo.miniProgram.envVersion == 'develop') {
|
||||
baseUrl = 'http://127.0.0.1:8503'
|
||||
baseUrl = 'http://127.0.0.1:18503'
|
||||
}
|
||||
if (accountInfo.miniProgram.envVersion == 'trial') {
|
||||
baseUrl = 'https://www.hlsq.asia/api'
|
||||
|
||||
Reference in New Issue
Block a user