2019-07-02 16:29:52 +08:00
|
|
|
|
|
|
|
export function getBaseUrl() {
|
2019-10-29 13:15:57 +08:00
|
|
|
let BASE_API;
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
|
|
// BASE_API = 'https://joylink.club/jlcloud';
|
2020-03-19 14:03:54 +08:00
|
|
|
// BASE_API = 'https://test.joylink.club/jlcloud';
|
2019-11-25 10:44:48 +08:00
|
|
|
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
2020-03-13 15:06:14 +08:00
|
|
|
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
2020-03-19 14:03:54 +08:00
|
|
|
BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
2020-03-13 13:23:04 +08:00
|
|
|
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
2020-02-27 21:39:30 +08:00
|
|
|
// BASE_API = 'http://b29z135112.zicp.vip';
|
2020-02-20 10:19:49 +08:00
|
|
|
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
|
2020-03-06 11:31:09 +08:00
|
|
|
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛automaticRouteButtonList
|
2019-10-29 13:15:57 +08:00
|
|
|
} else {
|
|
|
|
BASE_API = process.env.VUE_APP_BASE_API;
|
|
|
|
}
|
|
|
|
return BASE_API;
|
2019-07-02 16:29:52 +08:00
|
|
|
}
|