验证码独立测试和开发接口
This commit is contained in:
parent
ac7f379dcc
commit
8b96923a32
|
@ -5,9 +5,11 @@ window.baseurl = 'https://marketapi.1688sup.com';
|
||||||
let baseurl;
|
let baseurl;
|
||||||
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://192.168.6.75"
|
||||||
|
window.baseurl = 'http://192.168.6.75';
|
||||||
}
|
}
|
||||||
if (process.env.NODE_ENV == "production") { // 生成环境
|
if (process.env.NODE_ENV == "production") { // 生成环境
|
||||||
baseurl = "https://marketapi.1688sup.com"
|
baseurl = "https://marketapi.1688sup.com"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue