From fb5a8918a7983bbdf83586f773884d3961bb3c6d Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期五, 16 八月 2019 17:50:56 +0800
Subject: [PATCH] 口令领取+消息

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java |    3 +++
 1 files changed, 3 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..9a56a32 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,9 @@
 		} 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);
 		}
 	}
 

--
Gitblit v1.8.0