One click paging connection
http://127.0.0.1/demo/public/index.php/?page=1
Found that the demo is gone
http://127.0.0.1/public/index.php/?page=2
Is it because the routing is written incorrectly? Default route:
Route::get('/', 'indexController@index');
Routing was added later
Route::get('?page={id}', function($id)
{
});
It’s solved. Doesn’t this way of writing have any impact?
Use php artisan serve to start the project.