feat: add audit logging and lesson statistics for clazz
- Add clazz_audit_log table with diesel migration for CRUD audit trail - Add audit log backend: model, queries, handler, route - Add audit log viewer in clazz detail modal (操作记录) - Add student_lesson_stats API (GET /api/v1/clazz/stats/my-lessons) - Add teacher_detail_stats API (GET /api/v1/clazz/stats/teacher-detail) - Register all new routes in lib.rs Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS clazz_audit_log;
|
||||
Reference in New Issue
Block a user