修改部分问题

This commit is contained in:
2025-02-26 15:06:13 +08:00
parent 584c6c5364
commit 0301e41e96
4 changed files with 43 additions and 15 deletions

View File

@ -95,6 +95,8 @@ def get_img_leafer(image_id: int, session: Session):
:return:
"""
img_leafer = pillc.get_img_leafer(image_id, session)
if img_leafer is None:
return None
img_leafer_out = ProjectImgLeaferOut.from_orm(img_leafer).dict()
return img_leafer_out