摘要: # 自定义校验token规则1.视图类 from .authentications import JWTAuthentication class UserDetail1(APIView): permission_classes = [IsAuthenticated] # 必须登录 authentication_classes = [JWTAuthentication] # jwt用户token自定 阅读全文
posted @ 2019-10-23 21:50 凯帅 阅读(682) 评论(0) 推荐(0) 编辑