Browse Source

增加补充报名功能

sandm 2 years ago
parent
commit
c70cf6ed68
3 changed files with 370 additions and 145 deletions
  1. 4 0
      app/Http/Controllers/Web/Recruit/IndexController.php
  2. 292 0
      config/aix.php
  3. 74 145
      laravel.log

+ 4 - 0
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -2621,6 +2621,10 @@ class IndexController extends WebBaseController
         if(!$appoint_info){
             return ['status' => 0, 'msg' => '找不到您的报名记录,请检查!', 'data' => ''];
         }
+        $time = time();
+        if($time > 1680969600){
+            return ['status' => 0, 'msg' => '已停止补充报名!', 'data' => ''];
+        }
         if($appoint_info->adjust_limit){
             $appoint_info->update(['adjust' => 1]);
             return ['status' => 1, 'msg' => '补充报名成功!', 'data' => ''];

File diff suppressed because it is too large
+ 292 - 0
config/aix.php


File diff suppressed because it is too large
+ 74 - 145
laravel.log


Some files were not shown because too many files changed in this diff