feat: 重构用户与实体模型,实现账户与人物分离
引入新的数据模型和绑定机制,将用户账户与业务实体(学生/教师)解耦: 1. 新增 persons/teachers/bindings 集合及相关API 2. 改造 dashboard 服务适配新模型 3. 更新初始化脚本支持数据迁移 4. 保留旧字段兼容现有功能 登录响应现在包含绑定的人物信息,仪表盘查询基于实体模型重构
Showing
No preview for this file type
No preview for this file type
File added
File added
File added
No preview for this file type
File added
File added
app/api/v1/bindings.py
0 → 100644
app/api/v1/classes.py
0 → 100644
app/api/v1/persons.py
0 → 100644
app/api/v1/schedules.py
0 → 100644
app/api/v1/teachers.py
0 → 100644
File added
File added
No preview for this file type
app/services/bindings.py
0 → 100644
Please register or sign in to comment