validate($request, [ 'speed' => 'required', 'level' => 'required' ]); $uid = Auth::auth(); $cs = new CommentService(); $cs->comment($deed_id, $request->toArray()); return array( 'code' => 200, 'message' => 'success' ); } }