📅  最后修改于: 2022-03-11 14:53:28.484000             🧑  作者: Mango
/**
* Define your route model bindings, pattern filters, etc.
*
* @return void
*/
public function boot()
{
Route::pattern('id', '[0-9]+');
parent::boot();
}