(fix)(chat)Fix bug in creating chat model.

This commit is contained in:
jerryjzhang
2025-03-12 16:47:40 +08:00
parent 9d13038599
commit f67bf3eeac
2 changed files with 9 additions and 19 deletions

View File

@@ -57,6 +57,7 @@ public class ChatModelServiceImpl extends ServiceImpl<ChatModelMapper, ChatModel
chatModelDO.setViewer(JsonUtil.toString(chatModel.getViewers()));
}
save(chatModelDO);
chatModel.setId(chatModelDO.getId());
return chatModel;
}