This commit is contained in:
wangxiaoxian 2026-03-03 10:23:39 +08:00
parent 7c4f609442
commit ffaf738960
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
// API服务层用于与后端进行交互 // API服务层用于与后端进行交互
const API_BASE_URL = 'http://localhost:3000/api'; const API_BASE_URL = '/api';
// 通用请求函数 // 通用请求函数
async function request(url, options = {}) { async function request(url, options = {}) {