feat:增加查询博客相邻记录功能

This commit is contained in:
2025-10-12 22:56:31 +08:00
parent 38610aef67
commit 132fbb13b7
8 changed files with 106 additions and 40 deletions

View File

@@ -83,6 +83,14 @@ class BlogLatestResponse(BaseModel):
from_attributes = True
class BlogAdjacentResponse(BaseModel):
id: int
title: str
class Config:
from_attributes = True
class BlogCommentCreate(BaseModel):
parentId: int
name: str