refactor: 后端代码重构,提取通用权限验证逻辑至common模块,减少代码冗余

This commit is contained in:
xiamuceer-j
2026-01-13 16:45:58 +08:00
parent 6f33e12ead
commit 46debab624
14 changed files with 907 additions and 716 deletions
+2
View File
@@ -8,6 +8,7 @@ sqlalchemy==2.0.25
asyncpg==0.29.0 # PostgreSQL异步驱动
psycopg2-binary==2.9.9 # PostgreSQL同步驱动(用于迁移脚本)
alembic==1.14.0 # 数据库迁移工具
aiosqlite==0.22.1
# 数据验证
pydantic==2.12.4
@@ -20,6 +21,7 @@ anthropic==0.72.0
# 工具库
httpx==0.28.1
python-dotenv==1.1.0
psutil==6.1.1
# MCP官方库(Model Context Protocol Python SDK
mcp==1.22.0