点击“搜索”按钮之后,显示页面Not Found
hxhac opened this issue · comments
Demo里的路由是这样的...
`Route::get('/', function () {
return redirect('/search');
});
Route::get('/search', [
'uses' => 'PostController@search'
]);`
无法打开“首页”,点击“搜索”之后,也会报“Not Found”;
`Route::get('/', 'PostController@search');
Route::get('/search', 'PostController@search');`
我改成这样了,可以展示“首页”了,但是点击之后,还是会报
“The requested URL /search was not found on this server.”
求助