| 
						
						
							
								
							
						
						
					 | 
					@ -27,7 +27,7 @@ public class UserBadgeRedis { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @author zxc | 
					 | 
					 | 
					     * @author zxc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @date 2020/11/3 2:50 下午 | 
					 | 
					 | 
					     * @date 2020/11/3 2:50 下午 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    public Object getUserBadge(String customerId){ | 
					 | 
					 | 
					    public Object getCustomerBadge(String customerId){ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        Object userBadge = redisUtils.hGet(BadgeConstant.BADGE_KEY + customerId, BadgeConstant.BADGE); | 
					 | 
					 | 
					        Object userBadge = redisUtils.hGet(BadgeConstant.BADGE_KEY + customerId, BadgeConstant.BADGE); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return userBadge; | 
					 | 
					 | 
					        return userBadge; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -39,17 +39,29 @@ public class UserBadgeRedis { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @author zxc | 
					 | 
					 | 
					     * @author zxc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @date 2020/11/3 2:51 下午 | 
					 | 
					 | 
					     * @date 2020/11/3 2:51 下午 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    public void setUserBadge(List<UserBadgeListResultDTO> userBadge,String customerId){ | 
					 | 
					 | 
					    public void setCustomerBadge(List<UserBadgeListResultDTO> userBadge, String customerId){ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        redisUtils.hSet(BadgeConstant.BADGE_KEY+customerId,BadgeConstant.BADGE, JSON.toJSON(userBadge).toString(),-1); | 
					 | 
					 | 
					        redisUtils.hSet(BadgeConstant.BADGE_KEY+customerId,BadgeConstant.BADGE, JSON.toJSON(userBadge).toString(),-1); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Description  存放徽章审核 手机验证码 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Param mobile | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @author zxc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @date 2020/11/5 10:30 上午 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public void saveBadgeSmsCode(String mobile, String smsCode) { | 
					 | 
					 | 
					    public void saveBadgeSmsCode(String mobile, String smsCode) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        String smsCodeKey = "epmet:smsCode:badge:" + mobile; | 
					 | 
					 | 
					        String smsCodeKey = BadgeConstant.SMS_CODE_KEY + mobile; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        redisUtils.set(smsCodeKey, smsCode, MINUTE_THIRTY_EXPIRE); | 
					 | 
					 | 
					        redisUtils.set(smsCodeKey, smsCode, MINUTE_THIRTY_EXPIRE); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Description  获取徽章审核 手机验证码 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Param mobile | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @author zxc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @date 2020/11/5 10:30 上午 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public String getBadgeSmsCode(String mobile) { | 
					 | 
					 | 
					    public String getBadgeSmsCode(String mobile) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        String smsCodeKey = "epmet:smsCode:badge:" + mobile; | 
					 | 
					 | 
					        String smsCodeKey = BadgeConstant.SMS_CODE_KEY + mobile; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        String smsCode = (String) redisUtils.get(smsCodeKey); | 
					 | 
					 | 
					        String smsCode = (String) redisUtils.get(smsCodeKey); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return smsCode; | 
					 | 
					 | 
					        return smsCode; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |