浏览代码

修改考察材料上传时间限制

sandm 2 年之前
父节点
当前提交
56fc8bed27
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      app/Http/Controllers/Web/Recruit/IndexController.php

+ 6 - 2
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -1397,9 +1397,13 @@ class IndexController extends WebBaseController
             return $this->showMessage('抱歉,您未入闱,无需考察审核!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
             return $this->showMessage('抱歉,您未入闱,无需考察审核!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
         }
         }
 
 
-
+        $uids = [];
+        $limit_time = 1654075800;
+        if(in_array($uid,$uids)){
+            $limit_time = 1654162200;
+        }
         $time = time();
         $time = time();
-        if( $time > 1654164000){
+        if( $time > $limit_time){
             return $this->showMessage('抱歉,考察审核端口已关闭!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
             return $this->showMessage('抱歉,考察审核端口已关闭!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
         }
         }