|
@@ -1950,13 +1950,18 @@ class IndexController extends WebBaseController
|
|
|
}
|
|
|
|
|
|
$recruit_id = $request->input('recruit_id');
|
|
|
- $appoint_id = $request->input('appoint_id');
|
|
|
+ //$appoint_id = $request->input('appoint_id');
|
|
|
|
|
|
- $info = RecruitAppointSelect::where('uid',$uid)->where('recruit_id',$recruit_id)->where('appoint_id',$appoint_id)->first();
|
|
|
+ $info = RecruitAppointSelect::where('uid',$uid)->where('recruit_id',$recruit_id)->first();
|
|
|
|
|
|
if(!$info){
|
|
|
return $this->showMessage('抱歉,您无需择岗!', route('recruit.show',array('id',$recruit_id)), true, '上一页', '2');
|
|
|
}
|
|
|
+ //手动设置择岗时间段
|
|
|
+ $time = time();
|
|
|
+ if($time > 1661160600 || $time < 1661126400){
|
|
|
+ return $this->showMessage('抱歉,未到择岗时间!', route('recruit.show',array('id',$recruit_id)), true, '上一页', '2');
|
|
|
+ }
|
|
|
$option_list = [
|
|
|
[
|
|
|
'id' => 1,
|