修改部分问题
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user