Commit d6b1577d by Future

未读消息优化

parent 2ddec310
......@@ -42,7 +42,7 @@ public class InboxAction {
@ApiOperation(value = "消息修改为已接收状态")
public WsResponse<Map<String, Boolean>> updateImMsgReceived(@Validated ImMsgReceivedStatusUpdate data) throws Exception {
log.info("消息修改为已接收状态入参 {}", JSON.toJSONString(data));
imInboxService.updateImMsgReceived(data);
// imInboxService.updateImMsgReceived(data);
return WsResponse.ok();
}
......@@ -54,7 +54,7 @@ public class InboxAction {
public WsResponse<Map<String, Boolean>> updateInMsgReadUpdate(MsgReadStatusUpdateParam data) throws Exception {
log.info("消息修改为已读状态入参 {}", JSON.toJSONString(data));
if (CollectionUtils.isEmpty(data.getMsgIds())) {
return WsResponse.fail(ApiCode.PARAMETER_EXCEPTION);
return WsResponse.ok();
}
imInboxService.updateImMsgRead(data);
return WsResponse.ok();
......
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