diff --git a/src/assets/api.js b/src/assets/api.js index 2ee61561..2b8af785 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -7,8 +7,8 @@ let baseurl = ''; let download_url = 'https://ewm.83323.cn'; // 测试环境 if (process.env.NODE_ENV == 'test' || process.env.NODE_ENV == 'development') { - baseurl = 'http://192.168.6.75'; - window.baseurl = 'http://192.168.6.75'; + baseurl = 'http://test.marketapi.1688sup.com'; + window.baseurl = 'http://test.marketapi.1688sup.com'; window.unifiedUrl = 'http://test.user.1688sup.com/'; } @@ -239,7 +239,7 @@ const req = (method, url, params, responseType) => { Notify.clear(); Notify.error(response.message); setTimeout(() => { - // window.location.href = '/'; + window.location.href = '/'; }, 2000); } else if (response.code == 401) { Notify.clear();