get('invite_code'); $Recommend = Recommend::where('invite_code', $invite_code)->first(); if (!empty($Recommend)) { Facebook::handleEvent(1, $invite_code); return redirect("https://v8job.online/#/reg?i=$invite_code", 302); } return redirect("https://v8job.online/#/", 302); } }