2019-07-02 16:29:52 +08:00
|
|
|
|
|
|
|
export function getBaseUrl() {
|
2019-08-01 15:19:24 +08:00
|
|
|
let BASE_API;
|
2019-07-02 16:29:52 +08:00
|
|
|
if (process.env.NODE_ENV === 'development') {
|
2019-09-19 09:34:18 +08:00
|
|
|
// BASE_API = 'https://joylink.club/jlcloud';
|
2019-10-22 18:18:21 +08:00
|
|
|
// BASE_API = 'https://test.joylink.club/jlcloud';
|
|
|
|
BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
2019-10-22 17:24:41 +08:00
|
|
|
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
2019-10-15 09:39:01 +08:00
|
|
|
// BASE_API = 'http://192.168.3.41:9000'; // 王兴杰
|
2019-07-02 16:29:52 +08:00
|
|
|
} else {
|
2019-08-01 15:19:24 +08:00
|
|
|
BASE_API = process.env.VUE_APP_BASE_API;
|
2019-07-02 16:29:52 +08:00
|
|
|
}
|
2019-08-01 15:19:24 +08:00
|
|
|
return BASE_API;
|
2019-07-02 16:29:52 +08:00
|
|
|
}
|