feiyu02
2025-03-26 da0d06cb06ef3fc55d88cb4a9a52505ac35c03e6
src/api/index.js
@@ -1,7 +1,7 @@
import axios from 'axios';
import { ElMessage } from 'element-plus';
const debug = false;
const debug = true;
let ip1 = 'http://47.100.191.150:9029/';
// console.log(import.meta.env);
@@ -10,12 +10,12 @@
}
if (debug) {
  ip1 = 'http://192.168.0.138:8084/';
  ip1 = 'http://192.168.0.110:8084/';
}
const $http = axios.create({
  baseURL: ip1,
  timeout: 20000
  timeout: 30000
});
//添加拦截器