public function store(HelpRequest $helpRequest, User $user) { $help = new Help(); $help->fill($helpRequest->all()); $help->content = $helpRequest->input(\Editor::input()); $help->save(); $log = new Log(); $log->user_id = $user->id; $log->log = "新建帮助" . $help->id; $log->save(); return redirect()->action('AdminController@getHelp'); }