项目基础模块代码
This commit is contained in:
@ -8,6 +8,9 @@ class ProjectImage(BaseModel):
|
||||
image_url: Optional[str] = Field(..., description="原图路径")
|
||||
thumb_image_url: Optional[str] = Field(..., description="缩略图路径")
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
||||
|
||||
|
||||
class ProjectImagePager(BaseModel):
|
||||
project_id: Optional[int] = Field(..., description="项目id")
|
||||
|
Reference in New Issue
Block a user