From 1dc1b5e88283c2ea8cf53c9f014300b3ad0f53de Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期四, 02 四月 2020 11:20:43 +0800
Subject: [PATCH] vip消息

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java |    9 +++++++++
 1 files changed, 9 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 0d9b693..4e63e56 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
@@ -58,6 +58,15 @@
 		} else if (detail.getType() == MsgTypeOtherTypeEnum.taoLiJinExchange) {
 			msgOtherDetailMapper.insertSelective(detail);
 			userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
+		} else if (detail.getType() == MsgTypeOtherTypeEnum.passVIPApply 
+				|| detail.getType() == MsgTypeOtherTypeEnum.rejectVIPApply 
+				|| detail.getType() == MsgTypeOtherTypeEnum.teamVIPCallBoss
+				|| detail.getType() == MsgTypeOtherTypeEnum.teamSplitCallBoss) {
+			msgOtherDetailMapper.insertSelective(detail);
+			userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
+		}else if (detail.getType() == MsgTypeOtherTypeEnum.vipUpgradeReward) {
+			msgOtherDetailMapper.insertSelective(detail);
+			userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
 		}
 	}
 

--
Gitblit v1.8.0