修改状态字段
This commit is contained in:
@@ -18,7 +18,8 @@ const service: AxiosInstance = axios.create({
|
||||
|
||||
// 配置新建第二个 axios 实例(新功能服务)
|
||||
const newService: AxiosInstance = axios.create({
|
||||
baseURL: 'http://192.168.3.95:8000/', // 新后端地址
|
||||
// baseURL: 'http://192.168.3.95:8000/', // 新后端地址
|
||||
baseURL: 'http://192.168.3.49:8000/', // 后端地址
|
||||
timeout: 50000, // 50秒超时
|
||||
headers: { 'Content-Type': 'application/json' }, // 默认JSON格式
|
||||
paramsSerializer: {
|
||||
|
||||
Reference in New Issue
Block a user