可以正常访问后端api

This commit is contained in:
2025-09-19 16:17:33 +08:00
parent 3e13b4f7b0
commit 9d4581a2b5
3 changed files with 12 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
// API配置文件
const API_CONFIG = {
// 后端服务基础URL
BASE_URL: 'http://localhost:8086',
BASE_URL: '',
// API端点
ENDPOINTS: {
DEVICES: '/api/v1/devices'
DEVICES: '/v1/devices'
},
// 请求超时时间(毫秒)