瀏覽代碼

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

locky 1 年之前
父節點
當前提交
a3e4f4b42b
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Controller/UserController.py

+ 0 - 2
Controller/UserController.py

@@ -775,7 +775,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'
@@ -2033,7 +2032,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