wd-smebiz/mods/user/utils/token_manage_utils.py

8 lines
232 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
todo:
1.token管理,token存入redis前端调用接口时后端判断前端的token与后端token是否一致不一致时前端则重新调用信息获取接口
2.直接把权限等用户信息存redis
"""