|
|
@@ -1168,6 +1168,9 @@ public class MidjourneyServiceImpl implements MidjourneyService {
|
|
|
}
|
|
|
conversation.setProperties(jsonObject.toString());
|
|
|
}
|
|
|
+ if(JSONUtil.isJson(conversation.getFailReason())){
|
|
|
+ conversation.setFailReason("生成图片失败");
|
|
|
+ }
|
|
|
|
|
|
wssSession.sendMessage(WsMessageTypeEnum.SERVER_TASK_INFO, new JSONObject(conversation));
|
|
|
}
|