LoginController 這裡負責登陸後的路徑。我們要改redirectTo這個method。以下是程式碼。首先我們要取得使用者權限(role),然後用一個簡單的switch切換 ...
確定! 回上一頁