提交 28a57103 作者: han

发送方删除消息之后接收方方随之删除消息

上级 daf42be9
...@@ -37,7 +37,7 @@ public class MessageServiceImpl implements MessageService { ...@@ -37,7 +37,7 @@ public class MessageServiceImpl implements MessageService {
@Override @Override
public ResultBody removeMessage(Integer id) { public ResultBody removeMessage(Integer id) {
if(messageDao.removeMessage(id) != 0){ if(messageDao.removeMessage(id) != 0){
messageDao.removeReceiverMessageByMessageId(id);
return ResultBody.success("删除成功"); return ResultBody.success("删除成功");
} }
return ResultBody.error("删除失败"); return ResultBody.error("删除失败");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论