diff --git a/app/api/v1/tryon.py b/app/api/v1/tryon.py index 87ff27a..8884efb 100644 --- a/app/api/v1/tryon.py +++ b/app/api/v1/tryon.py @@ -77,7 +77,7 @@ async def get_tryon_histories( """ 获取试穿历史 """ - histories = await db.execute(select(TryonHistory).where(TryonHistory.user_id == current_user.id).order_by(TryonHistory.create_time.desc()).options(selectinload(TryonHistory.person_image))) + histories = await db.execute(select(TryonHistory).where(TryonHistory.user_id == current_user.id).order_by(TryonHistory.create_time.desc())) tryon_histories = histories.scalars().all() result = []