|  | @@ -168,6 +168,7 @@ public class MemberPriceSettingsServiceImpl extends ServiceImpl<MemberPriceSetti
 | 
	
		
			
				|  |  |          addVipCardRecord.setType(detail.getPeriod());
 | 
	
		
			
				|  |  |          addVipCardRecord.setTimes(orderDetailVo.getGoodNum());
 | 
	
		
			
				|  |  |          addVipCardRecord.setSendMsg(false);
 | 
	
		
			
				|  |  | +        addVipCardRecord.setSourceType(SourceTypeEnum.ORDER);
 | 
	
		
			
				|  |  |          addVipCardRecord.setCreateBy(orderDetailVo.getUserId());
 | 
	
		
			
				|  |  |          vipCardRecordService.addVip(addVipCardRecord);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -227,6 +228,7 @@ public class MemberPriceSettingsServiceImpl extends ServiceImpl<MemberPriceSetti
 | 
	
		
			
				|  |  |          addVipCardRecord.setTimes(activityReward.getNum());
 | 
	
		
			
				|  |  |          addVipCardRecord.setSendMsg(false);
 | 
	
		
			
				|  |  |          addVipCardRecord.setCreateBy(userId);
 | 
	
		
			
				|  |  | +        addVipCardRecord.setSourceType(SourceTypeEnum.ACTIVITY);
 | 
	
		
			
				|  |  |          vipCardRecordService.addVip(addVipCardRecord);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -452,21 +454,20 @@ public class MemberPriceSettingsServiceImpl extends ServiceImpl<MemberPriceSetti
 | 
	
		
			
				|  |  |          receivers.put(userId, phone);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          // 判断是否是机构学生 机构学生推送走另一个
 | 
	
		
			
				|  |  | -        Student student = studentService.getById(userId);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            try {
 | 
	
		
			
				|  |  | -                sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.JIGUANG, MessageTypeEnum.NEW_VIP_BUY_SUCCESS,
 | 
	
		
			
				|  |  | -                        receivers, null, 0, null, clientEnum.getCode(), param1);
 | 
	
		
			
				|  |  | -            } catch (Exception e) {
 | 
	
		
			
				|  |  | -                log.error("会员购买极光消息推送异常,userId={}", userId);
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +        try {
 | 
	
		
			
				|  |  | +            sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.JIGUANG, MessageTypeEnum.NEW_VIP_BUY_SUCCESS,
 | 
	
		
			
				|  |  | +                    receivers, null, 0, null, clientEnum.getCode(), param1);
 | 
	
		
			
				|  |  | +        } catch (Exception e) {
 | 
	
		
			
				|  |  | +            log.error("会员购买极光消息推送异常,userId={}", userId);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            try {
 | 
	
		
			
				|  |  | -                sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.SMS_NEW_VIP_BUY_SUCCESS,
 | 
	
		
			
				|  |  | -                        receivers, null, 0, null, clientEnum.getCode(), param1);
 | 
	
		
			
				|  |  | -            } catch (Exception e) {
 | 
	
		
			
				|  |  | -                log.error("会员购买短信消息推送异常,userId={}", userId);
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +        try {
 | 
	
		
			
				|  |  | +            sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.SMS_NEW_VIP_BUY_SUCCESS,
 | 
	
		
			
				|  |  | +                    receivers, null, 0, null, clientEnum.getCode(), param1);
 | 
	
		
			
				|  |  | +        } catch (Exception e) {
 | 
	
		
			
				|  |  | +            log.error("会员购买短信消息推送异常,userId={}", userId);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |