BUGFIX: 更新flux生成结果失败
This commit is contained in:
@@ -816,9 +816,8 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
||||
}
|
||||
|
||||
private MagicToolResultVO processFluxResult(String fluxImgMinioPath, ToProductImageResult toProductImageResult, String taskId, String prompt){
|
||||
// todo 需要先判断当前任务状态是否已为 Success 是 -> 不用修改,直接处理回参
|
||||
if (!toProductImageResult.getStatus().equals("Success")
|
||||
&& !StringUtil.isNullOrEmpty(toProductImageResult.getUrl())){
|
||||
&& StringUtil.isNullOrEmpty(toProductImageResult.getUrl())){
|
||||
toProductImageResult.setStatus("Success");
|
||||
toProductImageResult.setUrl(fluxImgMinioPath);
|
||||
toProductImageResultMapper.updateById(toProductImageResult);
|
||||
|
||||
Reference in New Issue
Block a user