From 81187837de78e62a5e3a38afda8b8553dcd2203c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 26 八月 2019 13:18:56 +0800 Subject: [PATCH] 推送修改 --- fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java index 2ad8708..2c5b725 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java @@ -40,6 +40,12 @@ } else if (detail.getType() == MsgTypeOtherTypeEnum.taoLiJin) { msgOtherDetailMapper.insertSelective(detail); userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1); + } else if (detail.getType() == MsgTypeOtherTypeEnum.give) { + msgOtherDetailMapper.insertSelective(detail); + userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1); + } else if (detail.getType() == MsgTypeOtherTypeEnum.exchange) { + msgOtherDetailMapper.insertSelective(detail); + userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1); } } -- Gitblit v1.8.0