fix: 微信登录接口跳过 JWT 鉴权,避免旧 Token 导致 403

ClubWechatLoginView 设置 authentication_classes=[],登录请求不再校验 Authorization。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQueandCursor committed 2026-07-23 00:55:18 +08:00
1 parent 65db2772d8
commit c37d66745b
1 file changed
+1
+1
View File
@@ -49,6 +49,7 @@ class ClubWechatLoginView(APIView):
POST /jituan/auth/wechat-login
body: { code, club_id?, app_id? }
"""
authentication_classes = [] # 登录不走 JWT,避免旧 Token 触发 403
throttle_classes = [AnonRateThrottle]
permission_classes = [AllowAny]