12 lines
290 B
JavaScript
12 lines
290 B
JavaScript
const accountInfo = wx.getAccountInfoSync();
|
|
const hosts = {
|
|
"develop": 'http://121.40.24.248',
|
|
"trial": 'http://121.40.24.248',
|
|
"release": 'https://release',
|
|
}
|
|
|
|
// const host = hosts[accountInfo.miniProgram.envVersion]
|
|
const host = 'http://wanyu.test';
|
|
|
|
export default {host};
|