public function store(Request $request) { if($request->has('user_id')) { dd('user_id is exists.'); } else { dd('user_id is not exists.'); } }