问答 / 0 / 1 / 创建于 4年前
写好中间件后起个别名,在指定的路由后 ->middleware('别名') 即可。也可使用路由组 Route::group() 对一组路由使用同一中间件
我要举报该,理由是:
推荐文章: