1. 程式人生 > >使用Gate實現權限管理

使用Gate實現權限管理

9.png nbsp inf user 服務 技術 alt bsp auth

在auth服務提供類註冊,

技術分享圖片

接著更改路由

技術分享圖片

左邊欄:

技術分享圖片

用戶名:{{Auth::guard("admin")->user()->name}}

使用Gate實現權限管理