修改api地址
This commit is contained in:
parent
1b252b053d
commit
498ab4a46b
|
@ -11,11 +11,8 @@ if (process.env.NODE_ENV == "test" || process.env.NODE_ENV == "development") {
|
||||||
}
|
}
|
||||||
if (process.env.NODE_ENV == "production") {
|
if (process.env.NODE_ENV == "production") {
|
||||||
// 生成环境
|
// 生成环境
|
||||||
// baseurl = "https://marketapi.1688sup.com";
|
baseurl = "https://marketapi.1688sup.com";
|
||||||
// window.baseurl = "https://marketapi.1688sup.com";
|
window.baseurl = "https://marketapi.1688sup.com";
|
||||||
|
|
||||||
baseurl = "http://192.168.6.75";
|
|
||||||
window.baseurl = "http://192.168.6.75";
|
|
||||||
}
|
}
|
||||||
const upload = (method, url, params, responseType) => {
|
const upload = (method, url, params, responseType) => {
|
||||||
let obj = {
|
let obj = {
|
||||||
|
|
Loading…
Reference in New Issue