分类:PHP记事本 发布时间:2017-09-29 14:06:55 阅读: 作者:郑祥景
$this->get('/category/list/', 'CategoryController@listView')->name('category_list'); $this->get('/category/list/{keyword}', 'CategoryController@listView')->name('category_search'); $this->get('/category/add', 'CategoryController@addView')->name('category_add'); $this->post('/category/add', 'CategoryController@post'); $this->get('/category/update/{id}', 'CategoryController@updateView')->name('category_update'); $this->post('/category/update/{id}', 'CategoryController@post'); $this->get('/category/destroy/{id}', 'CategoryController@destroy')->name('category_destroy');
编辑:郑祥景