BUGFIX: 使用万象生成失败时直接报错

This commit is contained in:
2025-06-30 15:54:58 +08:00
parent 905d296bdf
commit a37b64be91

View File

@@ -1872,6 +1872,7 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
}
break;
case STATUS_FAILED:
throw new BusinessException(output.getStr("message"), ResultEnum.PROMPT.getCode());
case STATUS_UNKNOWN:
poseTransformationVO.setStatus("Fail");
break;