zwhui il y a 2 ans
Parent
commit
2855f6b703

+ 1 - 0
midjourney/src/main/java/com/yhlxj/service/midjourney/impl/MidjourneyServiceImpl.java

@@ -880,6 +880,7 @@ public class MidjourneyServiceImpl implements MidjourneyService {
         MidjourneyUserConversation conversation = JSONUtil.toBean(jsons, MidjourneyUserConversation.class);
         conversation.setUserId(jsons.getLong("state"));
         conversation.setTaskId(jsons.getLong("id"));
+        conversation.setId(null);
         JSONObject jsonObject = new JSONObject(conversation.getProperties());
         String content = jsonObject.getStr("messageContent");
         if(StringUtils.isNotBlank(content)){