|  | @@ -815,7 +815,35 @@ public class VipCardRecordServiceImpl extends ServiceImpl<VipCardRecordDao, VipC
 | 
	
		
			
				|  |  |          if (sysUser == null) {
 | 
	
		
			
				|  |  |              return;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        MessageTypeEnum messageTypeEnum = EVipRecordStatus.ADD.equals(addVipCardRecord.getStatus()) ? MessageTypeEnum.PLATFORM_ADD_VIP : MessageTypeEnum.PLATFORM_ADD_DUDECT_VIP;
 | 
	
		
			
				|  |  | +        MessageTypeEnum messageTypeEnum;
 | 
	
		
			
				|  |  | +        EVipRecordStatus status = addVipCardRecord.getStatus();
 | 
	
		
			
				|  |  | +        EVipType vipType = addVipCardRecord.getVipType();
 | 
	
		
			
				|  |  | +        if (EVipRecordStatus.ADD.equals(status)) {
 | 
	
		
			
				|  |  | +            if (EVipType.VIP.equals(vipType)) {
 | 
	
		
			
				|  |  | +                messageTypeEnum = MessageTypeEnum.PLATFORM_ADD_VIP;
 | 
	
		
			
				|  |  | +            }else {
 | 
	
		
			
				|  |  | +                PeriodEnum period = addVipCardRecord.getType();
 | 
	
		
			
				|  |  | +                if (PeriodEnum.PERPETUAL.equals(period)) {
 | 
	
		
			
				|  |  | +                    messageTypeEnum = MessageTypeEnum.PLATFORM_ADD_PER_SVIP;
 | 
	
		
			
				|  |  | +                } else {
 | 
	
		
			
				|  |  | +                    messageTypeEnum = MessageTypeEnum.PLATFORM_ADD_SVIP;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        } else if (EVipRecordStatus.DEDUCTION.equals(status)) {
 | 
	
		
			
				|  |  | +            if (EVipType.VIP.equals(vipType)) {
 | 
	
		
			
				|  |  | +                messageTypeEnum = MessageTypeEnum.PLATFORM_ADD_DUDECT_VIP;
 | 
	
		
			
				|  |  | +            }else {
 | 
	
		
			
				|  |  | +                PeriodEnum period = addVipCardRecord.getType();
 | 
	
		
			
				|  |  | +                if (PeriodEnum.PERPETUAL.equals(period)) {
 | 
	
		
			
				|  |  | +                    messageTypeEnum = MessageTypeEnum.PLATFORM_ADD_DUDECT_PER_SVIP;
 | 
	
		
			
				|  |  | +                } else {
 | 
	
		
			
				|  |  | +                    messageTypeEnum = MessageTypeEnum.PLATFORM_ADD_DUDECT_SVIP;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            throw new BizException("不支持类型");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          Map<Long, String> receivers = new HashMap<>();
 | 
	
		
			
				|  |  |          receivers.put(addVipCardRecord.getUserId(), sysUser.getPhone());
 | 
	
		
			
				|  |  |  
 |