import axios from 'axios'; // 创建一个 axios 实例 const request = axios.create({ baseURL: 'https://openai.api2d.net', withCredentials: true, headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer fk186498-8FwkRSTv6gKo75npRdIIkLizDade6F4B' } }); export default request