admin
2019-12-31 6d17fb69b25cd74c4598784a6cf6fe7a9b651e34
fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java
@@ -52,6 +52,18 @@
      } else if (detail.getType() == MsgTypeOtherTypeEnum.firstOrderReward) {
         msgOtherDetailMapper.insertSelective(detail);
         userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
      }else if (detail.getType() == MsgTypeOtherTypeEnum.systemGive) {
         msgOtherDetailMapper.insertSelective(detail);
         userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
      } 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);
      }
   }