Update codebase and add coverage report

Removed an old run configuration, added a new coverage XML report, and updated multiple source files including main.py, middleware, models, routers, services, tests, and utility modules. Also updated pyproject.toml and the lock file. These changes likely include code improvements, test coverage updates, and dependency adjustments.
This commit is contained in:
2025-12-26 14:56:08 +08:00
parent a716b2b0db
commit 54784eea3b
17 changed files with 4583 additions and 271 deletions

View File

@@ -275,6 +275,7 @@ async def init_default_user() -> None:
policy_id=default_policy_id,
).save(session)
log.warning('请注意,账号密码仅显示一次,请妥善保管')
log.info(f'初始管理员账号: admin')
log.info(f'初始管理员密码: {admin_password}')