Commit Graph

11 Commits

Author SHA1 Message Date
a977f5b261 优化数据表结构 2025-12-18 12:17:17 +08:00
b02a4638da feat: add database session dependency for FastAPI routes
- Introduced a new dependency in `middleware/dependencies.py` to provide an asynchronous database session using SQLModel.
- This dependency can be utilized in route functions to facilitate database operations.
2025-11-27 22:18:50 +08:00
1533d9e89c Refactor code structure for improved readability and maintainability 2025-11-27 20:56:48 +08:00
2a173c0566 添加Github登录,优化数据库模型 2025-09-01 00:21:06 +08:00
f3a5ae9c40 优化部分代码实现 2025-08-28 02:23:26 +08:00
e98c46f44a 用户登录 2025-07-17 19:33:48 +08:00
33cca4e271 修复数据库迁移问题、新增环境变量读写 2025-07-15 17:32:00 +08:00
557a50f539 单元测试:新建用户与用户组 2025-07-14 15:13:05 +08:00
e011a1ea0e 完善 /api/site/config 路由,修复数据库无法二次启动 2025-07-02 00:42:54 +08:00
e84b3a7dee 完成数据库设置表的增删改查 2025-07-01 23:50:16 +08:00
652a78cb05 数据库优化 2025-07-01 00:16:07 +08:00