🎨 style: 优化代码
This commit is contained in:
parent
b399dfa2ec
commit
87b35add09
|
@ -10,7 +10,7 @@ let download_url = 'https://ewm.83323.cn';
|
|||
if (process.env.NODE_ENV == 'test') {
|
||||
baseurl = 'http://test.marketapi.1688sup.com';
|
||||
window.baseurl = 'http://test.marketapi.1688sup.com';
|
||||
unifiedApi = 'http://api.test.user.1688sup.com/v1/';
|
||||
unifiedApi = 'http://api.test.user.1688sup.com/v1';
|
||||
window.unifiedUrl = 'http://test.user.1688sup.com/#/login';
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ if (process.env.NODE_ENV == 'test') {
|
|||
if (process.env.NODE_ENV == 'production') {
|
||||
baseurl = 'https://marketapi.1688sup.com';
|
||||
window.baseurl = 'https://marketapi.1688sup.com';
|
||||
unifiedApi = 'https://api.user.1688sup.com/v1/';
|
||||
unifiedApi = 'https://api.user.1688sup.com/v1';
|
||||
window.unifiedUrl = 'https://user.1688sup.com/#/login';
|
||||
}
|
||||
|
||||
|
@ -26,7 +26,7 @@ if (process.env.NODE_ENV == 'production') {
|
|||
if (process.env.NODE_ENV == 'development') {
|
||||
baseurl = 'http://test.marketapi.1688sup.com';
|
||||
window.baseurl = 'http://test.marketapi.1688sup.com';
|
||||
unifiedApi = 'http://192.168.7.127:8000/v1/';
|
||||
unifiedApi = 'http://192.168.7.127:8000/v1';
|
||||
window.unifiedUrl = 'http://192.168.7.200:8888/#/login';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue