refactor: 主要功能实现

目前的工作已经实现的功能:
- 基本 FastAPI 路由;
- 基本 AI 聊天和创作功能;
- 用户信息管理、权限验证、JWT 令牌签发和验证、端点保护;
- HTML 验证码邮件发送和验证码验证。
This commit is contained in:
2026-05-24 13:58:51 +08:00
parent f06de85257
commit 21f0d7725e
98 changed files with 6483 additions and 116 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
"""
此文件为命令行入口。
避免在此文件中引用 router 模块内的代码。
避免在此文件中引用 router 和 service 模块内的代码。
"""
import typer
@@ -45,10 +45,12 @@ def run() -> None:
uvicorn.run(
"nyahome.server:app",
reload=True,
reload=False,
host="0.0.0.0",
port=9000,
timeout_graceful_shutdown=2,
log_config="logging.yaml",
log_level="debug",
)