|
@@ -311,11 +311,14 @@ export default {
|
|
|
// }
|
|
|
const href = `${window.location.href}`;
|
|
|
if (/dev-/.test(href)) {
|
|
|
+ console.log('314', '在这里定位问题 dev');
|
|
|
return 'https://qa-crm-kpl.kerryprops.com.cn/xcrm-api';
|
|
|
}
|
|
|
if (/qa-/.test(href)) {
|
|
|
+ console.log('314', '在这里定位问题 qa');
|
|
|
return 'https://qa-crm-kpl.kerryprops.com.cn/xcrm-api';
|
|
|
}
|
|
|
+ console.log('314', '在这里定位问题 prod');
|
|
|
// TODO 在 sl 环境验证生产数据时,先使用qa环境的websocket通信
|
|
|
return 'https://qa-crm-kpl.kerryprops.com.cn/xcrm-api';
|
|
|
// return `https://crm.kerryplus.com/xcrm-api`;
|