版本1.0.4 - 发布前准备

- 修复system.py缩进错误
- 优化前端页面样式(待重构)
- 改进API接口结构
- 完善文档和自动化脚本
- 平台基本功能稳定运行
This commit is contained in:
lt
2026-04-29 09:32:43 +08:00
parent 0a31ae09af
commit e1ba31afda
96 changed files with 165251 additions and 376 deletions
+4 -5
View File
@@ -24,12 +24,11 @@ echo ""
cd "$PLATFORM_DIR"
# 检查虚拟环境
if [ ! -f "backend/venv/bin/activate" ]; then
echo "⚠️ 虚拟环境不存在,使用系统 Python"
PYTHON_CMD="python3"
VENV_PYTHON="$PLATFORM_DIR/backend/venv/bin/python"
if [ -f "$VENV_PYTHON" ]; then
PYTHON_CMD="$VENV_PYTHON"
else
source backend/venv/bin/activate
PYTHON_CMD="python"
PYTHON_CMD="python3"
fi
# 检查依赖