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