You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
582 B
19 lines
582 B
10 months ago
|
module.exports = {
|
||
|
BASEURL: BASEURL,
|
||
|
Token: getToken,
|
||
|
userId: ''
|
||
|
};
|
||
|
function BASEURL() {
|
||
|
// return 'https://epmet-preview.elinkservice.cn/api/' // 演示环境
|
||
|
return 'http://192.168.1.144/api/'; //测试环境
|
||
|
// return 'http://219.146.91.110:30801/api/'
|
||
|
// return 'https://epmet-preview.elinkservice.cn/api/' // 演示环境
|
||
|
// return 'http://192.168.1.144/api/' //测试环境
|
||
|
// return 'http://219.146.91.110:30801/api/'
|
||
|
//return http://219.146.91.110:30801/api //外网
|
||
|
}
|
||
|
|
||
|
function getToken() {
|
||
|
return uni.getStorageSync('token');
|
||
|
}
|