更新后端API端口和认证系统,优化数据库配置和环境变量管理

This commit is contained in:
2025-09-18 16:47:08 +08:00
parent 31bc064018
commit 4e852bd3cb
10 changed files with 534 additions and 15 deletions

View File

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