修改api地址

This commit is contained in:
zhangds 2023-01-04 13:38:14 +08:00
parent 1b252b053d
commit 498ab4a46b
1 changed files with 2 additions and 5 deletions

View File

@ -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 = {