BUGFIX: 1、getModuleContent没有返回taskId
2、万相生成的pose没有更新状态
This commit is contained in:
@@ -2123,6 +2123,7 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
|
|||||||
poseTransformation.setGifUrl(userBucket + "/" + gifPrefix);
|
poseTransformation.setGifUrl(userBucket + "/" + gifPrefix);
|
||||||
poseTransformation.setVideoUrl(userBucket + "/" + videoPrefix);
|
poseTransformation.setVideoUrl(userBucket + "/" + videoPrefix);
|
||||||
poseTransformation.setFirstFrameUrl(userBucket + "/" + imgPrefix);
|
poseTransformation.setFirstFrameUrl(userBucket + "/" + imgPrefix);
|
||||||
|
poseTransformation.setTaskStatus("Success");
|
||||||
poseTransformation.setUpdateTime(LocalDateTime.now());
|
poseTransformation.setUpdateTime(LocalDateTime.now());
|
||||||
poseTransformationMapper.updateById(poseTransformation);
|
poseTransformationMapper.updateById(poseTransformation);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1968,6 +1968,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
}
|
}
|
||||||
PoseTransformationVO poseTransformationVO = new PoseTransformationVO();
|
PoseTransformationVO poseTransformationVO = new PoseTransformationVO();
|
||||||
poseTransformationVO.setId(item.getId());
|
poseTransformationVO.setId(item.getId());
|
||||||
|
poseTransformationVO.setTaskId(item.getUniqueId());
|
||||||
poseTransformationVO.setProductImage(getMinioUrl(item.getProductImage()));
|
poseTransformationVO.setProductImage(getMinioUrl(item.getProductImage()));
|
||||||
poseTransformationVO.setGifUrl(getMinioUrl(item.getGifUrl()));
|
poseTransformationVO.setGifUrl(getMinioUrl(item.getGifUrl()));
|
||||||
poseTransformationVO.setVideoUrl(getMinioUrl(item.getVideoUrl()));
|
poseTransformationVO.setVideoUrl(getMinioUrl(item.getVideoUrl()));
|
||||||
|
|||||||
Reference in New Issue
Block a user