Explorar o código

获取认证码,登录接口去掉调用次数限制

locky hai 1 ano
pai
achega
d57111cee9
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Controller/UserController.py

+ 0 - 2
Controller/UserController.py

@@ -801,7 +801,6 @@ class v2authCodeView(TemplateView):
                 return response.json(5)
         return self.ValidationError(request_dict, response)
 
-    @limits(calls=2, period=60)
     def get(self, request, *args, **kwargs):
         # Device_User.objects.filter(userEmail='chanjunkai@163.com').delete()
         request.encoding = 'utf-8'
@@ -2114,7 +2113,6 @@ class v3LoginView(TemplateView):
     def dispatch(self, *args, **kwargs):
         return super(v3LoginView, self).dispatch(*args, **kwargs)
 
-    @limits(calls=2, period=60)
     def post(self, request, *args, **kwargs):
         request.encoding = 'utf-8'
         request_dict = request.POST