feat(system):优化后端

1.新增后端测试
2.增加了后端的加密
3.增加了i18n(国际化)
This commit is contained in:
2026-05-31 15:39:34 +00:00
parent affe460180
commit 99520c69d7
118 changed files with 8174 additions and 1491 deletions
+21
View File
@@ -1,2 +1,23 @@
run:
uv run main.py
clean-cache:
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete 2>/dev/null || true
# Alembic 数据库迁移:m="message" 控制 revision 描述
db-revision:
uv run alembic revision --autogenerate -m "$(m)"
db-upgrade:
uv run alembic upgrade head
db-downgrade:
uv run alembic downgrade -1
db-history:
uv run alembic history --verbose
db-stamp-head:
uv run alembic stamp head