十八位sfzh
php代码
Route::get('/sfz/{id?}',function($id){
    dd($id);
 })->where('id','[0-9]{17}[0-9|x]+');
 
运行

尾号为x的sfzh

Laravel-【路由】
阅读 50
2022-03-13
Route::get('/sfz/{id?}',function($id){
    dd($id);
 })->where('id','[0-9]{17}[0-9|x]+');
 


相关推荐
精彩评论(0)