| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -2,6 +2,7 @@ package com.iformall.service.impl; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.alibaba.fastjson.JSON; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.alibaba.fastjson.JSONObject; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.github.pagehelper.PageHelper; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.github.pagehelper.PageInfo; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.iformall.common.ErrorCode; | 
		
		
	
	
		
			
				| 
				
					
				
				
					
				
				
				 | 
			
			 | 
			@@ -107,8 +108,8 @@ public class WxMsgValidationcodeServiceImpl implements WxMsgValidationcodeServic | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        //2 判断是否已超过10条 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        String systemTime = DateUtils.getSystemTime("yyyy-MM-dd"); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        wxMsgValidationcode.setCreatetimeStr(systemTime); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        List<WxMsgValidationcode> list = wxMsgValidationcodeMapper.findList(wxMsgValidationcode); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if (list.size() >= 10) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        Integer count = wxMsgValidationcodeMapper.findListCount(wxMsgValidationcode); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if (count != null && count.intValue() > 20) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            return new ResultData(ErrorCode.MSG_SEND_ERROR.getCode(), "验证码发送超限"); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |