重构后端服务架构并优化前端错误处理

This commit is contained in:
ylweng
2025-09-05 01:18:40 +08:00
parent 86322c6f50
commit 5853953f79
20 changed files with 608 additions and 772 deletions

View File

@@ -5,19 +5,19 @@ NODE_ENV=development
VITE_APP_TITLE=活牛采购智能数字化系统 - 管理后台
# API接口地址
VITE_API_BASE_URL=http://localhost:3001/api
VITE_API_BASE_URL=http://localhost:3002/api
# WebSocket地址
VITE_WS_BASE_URL=ws://localhost:3001
VITE_WS_BASE_URL=ws://localhost:3002
# 上传文件地址
VITE_UPLOAD_URL=http://localhost:3001/api/upload
VITE_UPLOAD_URL=http://localhost:3002/api/upload
# 静态资源地址
VITE_STATIC_URL=http://localhost:3001/static
VITE_STATIC_URL=http://localhost:3002/static
# 是否启用Mock数据
VITE_USE_MOCK=true
VITE_USE_MOCK=false
# 是否启用开发工具
VITE_DEV_TOOLS=true