Prechádzať zdrojové kódy

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

sandm 2 rokov pred
rodič
commit
56fc8bed27

+ 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');
         }
 
-
+        $uids = [];
+        $limit_time = 1654075800;
+        if(in_array($uid,$uids)){
+            $limit_time = 1654162200;
+        }
         $time = time();
-        if( $time > 1654164000){
+        if( $time > $limit_time){
             return $this->showMessage('抱歉,考察审核端口已关闭!', route('recruit.show',array('id',$recruit['id'])), true, '上一页', '3');
         }