摘要: 认证 py文件编写 # 步骤:写一个类,继承BaseAuthentication,重写authenticate,在方法中做校验,校验是否登录,返回两个值,没有登录抛异常 class LoginAuth(BaseAuthentication): def authenticate(self, reque 阅读全文
posted @ 2022-04-05 21:49 椰子皮0oo0 阅读(55) 评论(0) 推荐(0)
1