Demo地址:
https://github.com/GodwinGodwin/redisauth.git
使用cookie+redis方式token權(quán)鑒

常量

常量

cookie工具類

權(quán)限校驗

verificatePermissions

controller

controller中的test()

controller中的login()

controller中的logout()

權(quán)限測試時用到的方法

html頁面

test.html頁面