Commit 06882a0f by giaogiao

两个用户如果已经创建过会话,不能重复创建会话 返回已存在的会话id

parent b6efe36f
......@@ -106,7 +106,7 @@ public class ImConversationServiceImpl extends BaseServiceImpl<ImConversationMap
ImConversationCreateVo imConversationCreateVo = new ImConversationCreateVo();
imConversationCreateVo.setId(repetitionConversationInfo.getId());
return ApiResult.result(ApiCode.REPETITION_CONVERSATION, imConversationCreateVo);
return ApiResult.ok(imConversationCreateVo);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment