lizhen_gitee 1 年之前
父節點
當前提交
28064260dd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Userauth.php

+ 1 - 1
application/api/controller/Userauth.php

@@ -101,7 +101,7 @@ class Userauth extends Api
             Cache::set('fourauth' . $this->auth->id, 1, $cache_time);
         } else {
             Cache::set('fourauth' . $this->auth->id, $time_count + 1, $cache_time);
-            if ($time_count > 3) {
+            if ($time_count > 20) {
                 $this->error('今日实名次数已到上限,明天再来吧');
             }
         }