|
@@ -1959,7 +1959,7 @@ class IndexController extends WebBaseController
|
|
|
}
|
|
|
//手动设置择岗时间段
|
|
|
$time = time();
|
|
|
- if($time > 1661247000 || $time < 1661126400){
|
|
|
+ if($time > 1661227200 || $time < 1661126400){
|
|
|
return $this->showMessage('抱歉,未到择岗时间!', route('recruit.show',array('id',$recruit_id)), true, '上一页', '2');
|
|
|
}
|
|
|
$option_list = [
|
|
@@ -2133,6 +2133,10 @@ class IndexController extends WebBaseController
|
|
|
|
|
|
$recruit_id = $request->input('recruit_id');
|
|
|
$appoint_id = $request->input('appoint_id');
|
|
|
+ $time = time();
|
|
|
+ if($time > 1661227200 || $time < 1661126400){
|
|
|
+ return $this->showMessage('抱歉,未到择岗时间!', route('recruit.show',array('id',$recruit_id)), true, '上一页', '2');
|
|
|
+ }
|
|
|
$info = RecruitAppointSelect::where('uid',$uid)->where('recruit_id',$recruit_id)->where('appoint_id',$appoint_id)->first();
|
|
|
if($info->result){
|
|
|
return ['status' => 0, 'msg' => "择岗数据已提交!"];
|