This commit is contained in:
root
2026-10-16 13:51:00 +08:00
parent 6bf949949c
commit 8fc899d0a9
3830 changed files with 11228 additions and 188377 deletions
@@ -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