yujian
2020-04-11 17e98d7bcc27072f97976d24eb504abb02914891
fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/UserInviteSeparateServiceImpl.java
@@ -73,6 +73,14 @@
      inviteSeparate.setCreateTime(new Date());
      inviteSeparate.setUpdateTime(new Date());
      userInviteSeparateMapper.insertSelective(inviteSeparate);
      UserInfo userInfo = userInfoService.getUserById(workerId);
      // 消息
      MsgOtherVIPDTO msgboss = new MsgOtherVIPDTO();
      msgboss.setContent1(userInfo.getNickName() + " " + workerId);
      msgboss.setContent2("于" + TimeUtil.formatDateDot(new Date()) + "成功升级成为会员");
      msgboss.setContent3("今日起" + limitDays + "天内,你未能成为会员将会与其脱离邀请关系 ");
      userOtherMsgNotificationService.teamVIPCallBoss(bossId, "如有疑问请联系我的-人工客服", msgboss);
   }
   
   @Override
@@ -134,7 +142,7 @@
         int limitDays = Integer.parseInt(userVipConfigService.getValueByKey("invite_separate_limit_days"));
         
         // 消息 TODO
         // 消息
         UserInfo userInfo = userInfoService.selectByPKey(workerId);
         MsgOtherVIPDTO msgboss = new MsgOtherVIPDTO();
         msgboss.setContent1(userInfo.getNickName() + workerId + "于"+ TimeUtil.formatDateDot(record.getCreateTime()) + "成功升级成为会员 ");