From 7312d2c1c336a9a9e2f4d1f771a18c4e0c2af215 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 20 Apr 2023 18:18:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=88=20style:=20=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83ip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();