|
@@ -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
|