Merge branch 'dev/3.1_release_merge' into release/3.1

This commit is contained in:
2025-09-02 22:28:58 +08:00

View File

@@ -540,13 +540,15 @@ public class PortfolioServiceImpl extends ServiceImpl<PortfolioMapper, Portfolio
}
vo.setCollectionElementList(collectionElementList);
List<UserLikeSnapshot> userLikeList = projectSnapshot.getUserLikeList();
List<TDesignPythonOutfit> list = new ArrayList<>();
for (UserLikeSnapshot userLikeSnapshot : userLikeList) {
TDesignPythonOutfit designPythonOutfit = userLikeSnapshot.getDesignPythonOutfit();
designPythonOutfit.setDesignUrl(minioUtil.getPreSignedUrl(designPythonOutfit.getDesignUrl(), 24 * 60));
list.add(designPythonOutfit);
if (userLikeList != null && !userLikeList.isEmpty()){
List<TDesignPythonOutfit> list = new ArrayList<>();
for (UserLikeSnapshot userLikeSnapshot : userLikeList) {
TDesignPythonOutfit designPythonOutfit = userLikeSnapshot.getDesignPythonOutfit();
designPythonOutfit.setDesignUrl(minioUtil.getPreSignedUrl(designPythonOutfit.getDesignUrl(), 24 * 60));
list.add(designPythonOutfit);
}
vo.setDesignPythonOutfitList(list);
}
vo.setDesignPythonOutfitList(list);
}
}
Canvas canvas = canvasMapper.selectById(vo.getCanvasId());