|
@@ -171,21 +171,22 @@ class JjhcController extends WebBaseController
|
|
|
// RecruitAppointSelect::create($data);
|
|
|
//
|
|
|
// }
|
|
|
-
|
|
|
- $list = DB::table("recruit_temp")->get();
|
|
|
- foreach ($list as $k => $v){
|
|
|
- $appoint_info = RecruitAppointInfo::where('card',$v->f3)->where('recruit_id',18)->first();
|
|
|
- $data = [
|
|
|
- 'batch' => 2,
|
|
|
- 'appoint_id' => $appoint_info->id,
|
|
|
- 'recruit_id' => 18,
|
|
|
- 'uid' => $appoint_info->uid,
|
|
|
- 'record' => $v->f6,
|
|
|
- 'status' => 0
|
|
|
- ];
|
|
|
-
|
|
|
- RecruitAppointSelect::create($data);
|
|
|
- }
|
|
|
+ $redis = Cache::getRedis();
|
|
|
+ $redis->set('recruit_quota',false);
|
|
|
+// $list = DB::table("recruit_temp")->get();
|
|
|
+// foreach ($list as $k => $v){
|
|
|
+// $appoint_info = RecruitAppointInfo::where('card',$v->f3)->where('recruit_id',18)->first();
|
|
|
+// $data = [
|
|
|
+// 'batch' => 2,
|
|
|
+// 'appoint_id' => $appoint_info->id,
|
|
|
+// 'recruit_id' => 18,
|
|
|
+// 'uid' => $appoint_info->uid,
|
|
|
+// 'record' => $v->f6,
|
|
|
+// 'status' => 0
|
|
|
+// ];
|
|
|
+//
|
|
|
+// RecruitAppointSelect::create($data);
|
|
|
+// }
|
|
|
|
|
|
|
|
|
// for ($room = 1;$room <= 78; $room++){
|