SSO单点登录

利用redis模拟session

UUID生成token作为key,value为用户信息

设置过期时间

把token写入Cookie

posted @ 2019-01-22 15:51  馳騁衿琾  阅读(119)  评论(0编辑  收藏  举报