diff --git a/src/utils/common.js b/src/utils/common.js index 54c57ed..606736e 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -997,9 +997,9 @@ let data = { console.log(window.location.href); } else { if (window.location.origin.indexOf('www') > -1) { - window.location.href = 'http://www.ibocai.cn/#/' + url; + window.location.href = 'https://a.matripe.com.cn/stock/index.html#/' + url; } else { - window.location.href = 'http://ibocai.cn/#/' + url + window.location.href = 'https://a.matripe.com.cn/stock/index.html#/' + url } }; } else if (url == "boundtel") {// 前台特殊处理 diff --git a/src/utils/request.js b/src/utils/request.js index 0c96b56..420fc7c 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -91,16 +91,7 @@ service.interceptors.response.use( if (response.data.code === 200) { return response.data; } else { - if (response.config.url == "/yishoudan/agency/getCreatorTel") { - return { - data: { - tel: 1, - telEncrypt: 1 - } - }; - } else { - message.error(response.data.msg); - } + message.error(response.data.message); return Promise.reject(new Error(msg)); } } else { diff --git a/src/views/homePage/index.vue b/src/views/homePage/index.vue index 3b32f23..dca2d95 100644 --- a/src/views/homePage/index.vue +++ b/src/views/homePage/index.vue @@ -8,7 +8,7 @@