feat: 添加 WebUI 模块及相关 API 路由和 Token 管理功能

This commit is contained in:
墨梓柒
2025-11-14 23:31:53 +08:00
parent aa7fd1df90
commit cae61281a0
8 changed files with 532 additions and 3 deletions

View File

@@ -1,2 +1,7 @@
HOST=127.0.0.1
PORT=8000
PORT=8000
# WebUI 配置
# WEBUI_ENABLED=true
# WEBUI_MODE=development # 开发模式(需手动启动前端: cd webui && npm run dev端口 7999
# WEBUI_MODE=production # 生产模式(需先构建前端: cd webui && npm run build