v2.0.1更新

This commit is contained in:
canglan committed 2026-05-26 08:39:12 +08:00
1 parent cb0c367eb7
commit c575d711ee
34 files changed
+750 -204

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ class AddPointsRequest(BaseModel):
student_ids: List[int] = Field(..., min_length=1, max_length=200, description="学生ID列表")
points_change: int = Field(..., gt=-100, lt=100, description="分数变动")
reason: str = Field(..., min_length=1, max_length=255, description="原因")
related_type: Optional[str] = Field(default='manual', pattern=r'^(manual|homework|attendance)$', description="关联类型: manual/homework/attendance")
class AddPointsResponse(BaseModel):