🌈 style: 更换测试环境ip

This commit is contained in:
wangsongsole 2023-04-20 18:18:16 +08:00
parent c85f2f8320
commit 7312d2c1c3
1 changed files with 3 additions and 3 deletions

View File

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