去掉视频给卖家端fix

This commit is contained in:
litianxiang
2026-06-02 17:07:35 +08:00
parent 148bb84f3c
commit 85e02a895c

View File

@@ -92,14 +92,15 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
for (CollectionSort userLikeSort : childSortList) {
if (userLikeSort.getRelationType().equals(CollectionType.POSE_TRANSFORM.getValue())){
PoseTransformation poseTransformation = poseTransformationMapper.selectById(userLikeSort.getRelationId());
if (poseTransformation != null) {
PoseTransformationVideoDTO videoDTO = new PoseTransformationVideoDTO();
videoDTO.setFirstFrameUrl(minioUtil.processMinioResource(poseTransformation.getFirstFrameUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
videoDTO.setGifUrl(minioUtil.processMinioResource(poseTransformation.getGifUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
videoDTO.setVideoUrl(minioUtil.processMinioResource(poseTransformation.getVideoUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
designUrlsDTO.getVideos().add(videoDTO);
}
//2026.6.2 不显示视频到卖家端
// PoseTransformation poseTransformation = poseTransformationMapper.selectById(userLikeSort.getRelationId());
// if (poseTransformation != null) {
// PoseTransformationVideoDTO videoDTO = new PoseTransformationVideoDTO();
// videoDTO.setFirstFrameUrl(minioUtil.processMinioResource(poseTransformation.getFirstFrameUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
// videoDTO.setGifUrl(minioUtil.processMinioResource(poseTransformation.getGifUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
// videoDTO.setVideoUrl(minioUtil.processMinioResource(poseTransformation.getVideoUrl(), CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
// designUrlsDTO.getVideos().add(videoDTO);
// }
}else {
ToProductImageResult toProductImageResult = toProductImageResultMapper.selectById(userLikeSort.getRelationId());
if (toProductImageResult != null && !isGenerateTaskFailed(toProductImageResult.getStatus(), toProductImageResult.getCreateTime())) {
@@ -136,8 +137,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
if (collectionSort != null) {
// 获取TO_PRODUCT_IMAGE类型的URL列表
//2026.6.2 不显示视频到卖家端
// getToProductImageUrlsByCollectionSortId(collectionSort.getId(), designUrlsDTO);
getToProductImageUrlsByCollectionSortId(collectionSort.getId(), designUrlsDTO);
}
}