zhuguifei
2 天以前 7941623b1fb108a154ea4270d7c7e2df6031f6e5
common/api.js
@@ -1,11 +1,12 @@
import {
   fly
} from '@/common/request/fly.js'
const base = "http://192.168.21.3:9999"
// const base = "https://lanpucloud.cn"
// const base = "http://192.168.21.3:9999"
const base = "http://lanpucloud.cn"
//配置请求基地址
fly.config.baseURL = base + ""
fly.config.baseURL = base + "/herb"
// fly.config.baseURL = base + ""
const ip = uni.getStorageSync('lan_ip');
if (ip) {
   fly.config.baseURL = "http://" + ip + ":9999"