|
@@ -182,7 +182,7 @@ export function wxToLoginCallback( path,callback ) {
|
|
export function initEnv() {
|
|
export function initEnv() {
|
|
const href = window.location.href;
|
|
const href = window.location.href;
|
|
console.log('当前页面的url地址 ',href);
|
|
console.log('当前页面的url地址 ',href);
|
|
- if ( /dev-|808[0-9]/.test(href) ) {
|
|
|
|
|
|
+ if ( /dev-/.test(href) ) {
|
|
window.env = 'qa';
|
|
window.env = 'qa';
|
|
window.profileApi = 'https://qa-apim.kerryplus.com/c/api';
|
|
window.profileApi = 'https://qa-apim.kerryplus.com/c/api';
|
|
window.cmrApi = 'https://qa-crm.kerryplus.com/xcrm-api/api';
|
|
window.cmrApi = 'https://qa-crm.kerryplus.com/xcrm-api/api';
|