lvhao 6 天之前
父节点
当前提交
bde8c84aa7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CoreApp/models/Model_check.php

+ 1 - 1
core/CoreApp/models/Model_check.php

@@ -14,7 +14,7 @@ class Model_check extends Lin_Model
 		if(empty($info)){
 
 		}else{
-			if(($info['addtime'] - time()) < $info['zx_hours']*60*60 ){
+			if((time() - $info['addtime'] ) < $info['zx_hours']*60*60 ){
 				if($info['number'] == $number){
 					return true;
 				}