|
|
@ -5,7 +5,7 @@ import { host } from '@/config/host'; |
|
|
|
|
|
|
|
// 创建 axios 实例
|
|
|
|
const service = axios.create({ |
|
|
|
baseURL: process.env.VUE_APP_BASE_API, // 从环境变量中读取 API 基础地址
|
|
|
|
baseURL: 'http://adminnew.pengda.checkcopy.com', // 从环境变量中读取 API 基础地址
|
|
|
|
timeout: 60000, // 请求超时时间
|
|
|
|
headers: { |
|
|
|
'Content-Type': 'application/x-www-form-urlencoded' |
|
|
|