This commit is contained in:
macbook_max
2026-10-15 20:36:59 +08:00
commit 6bf949949c
7923 changed files with 1369582 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
"""互动模块请求模型"""
from pydantic import BaseModel, Field
class CommentCreateReq(BaseModel):
"""发表评论(6.4):parent_id=0 为一级评论"""
content: str = Field(min_length=1, max_length=500)
parent_id: int = 0
reply_to_user_id: int | None = None