diff --git a/jituan/views.py b/jituan/views.py index 60f87c1..cade5a6 100644 --- a/jituan/views.py +++ b/jituan/views.py @@ -123,8 +123,12 @@ class ClubKefuLoginView(APIView): POST /jituan/auth/kefu-login body: { phone, password, erjimima } """ - throttle_classes = [AnonRateThrottle] - permission_classes = [AllowAny] + authentication_classes = () + permission_classes = () + throttle_classes = () + + def initial(self, request, *args, **kwargs): + return def post(self, request): phone = (request.data.get('phone') or '').strip()