2020-04-02 11:20:35 +08:00
|
|
|
export function getBaseUrl() {
|
|
|
|
let BASE_API;
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
|
|
// BASE_API = 'https://joylink.club/jlcloud';
|
2020-06-18 18:40:47 +08:00
|
|
|
// BASE_API = 'https://test.joylink.club/jlcloud';
|
2020-04-02 11:20:35 +08:00
|
|
|
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
2020-06-16 13:36:38 +08:00
|
|
|
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
2020-06-18 18:40:47 +08:00
|
|
|
BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
2020-06-16 09:03:06 +08:00
|
|
|
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
2020-04-02 11:20:35 +08:00
|
|
|
// BASE_API = 'http://b29z135112.zicp.vip';
|
|
|
|
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
|
2020-05-26 16:17:16 +08:00
|
|
|
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
|
2020-06-18 17:50:26 +08:00
|
|
|
} else {
|
2020-04-02 11:20:35 +08:00
|
|
|
BASE_API = process.env.VUE_APP_BASE_API;
|
|
|
|
}
|
|
|
|
return BASE_API;
|
|
|
|
}
|