You've already forked qlg.tsgz.moe
							
							删除提示
This commit is contained in:
		@@ -37,12 +37,12 @@ class LogSms extends Base{
 | 
				
			|||||||
			return WSTReturn("请勿频繁发送短信验证");
 | 
								return WSTReturn("请勿频繁发送短信验证");
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		//检测IP是否超过发短信次数
 | 
							//检测IP是否超过发短信次数
 | 
				
			||||||
		$ipRs = $this->field("count(smsId) counts,max(createTime) createTime")
 | 
					//		$ipRs = $this->field("count(smsId) counts,max(createTime) createTime")
 | 
				
			||||||
					 ->where(["smsIP"=>$ip])
 | 
					//					 ->where(["smsIP"=>$ip])
 | 
				
			||||||
					 ->whereTime('createTime', 'between', [$date.' 00:00:00', $date.' 23:59:59'])->find();
 | 
					//					 ->whereTime('createTime', 'between', [$date.' 00:00:00', $date.' 23:59:59'])->find();
 | 
				
			||||||
		if($ipRs['counts']>(int)WSTConf("CONF.smsLimit")){
 | 
					//		if($ipRs['counts']>(int)WSTConf("CONF.smsLimit")){
 | 
				
			||||||
			return WSTReturn("发送短信验证次数过多!");
 | 
					//			return WSTReturn("发送短信验证次数过多!");
 | 
				
			||||||
		}
 | 
					//		}
 | 
				
			||||||
		//if($ipRs['createTime']!='' && ((time()-strtotime($ipRs['createTime']))<120)){
 | 
							//if($ipRs['createTime']!='' && ((time()-strtotime($ipRs['createTime']))<120)){
 | 
				
			||||||
		//	return WSTReturn("请勿频繁发送短信验证!");
 | 
							//	return WSTReturn("请勿频繁发送短信验证!");
 | 
				
			||||||
		//}
 | 
							//}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user