fix: 完全回滚公告轮播身份校验代码,恢复改前行为

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-02 14:17:26 +08:00
parent 0fc9c85503
commit 725a1386c3
2 changed files with 2 additions and 59 deletions

View File

@@ -151,7 +151,8 @@ class ShangpinGonggaoView(APIView):
"""
throttle_classes = [AnonRateThrottle]
permission_classes = [AllowAny]
authentication_classes = [] # 不校验 JWT避免前端带过期 token 时 401
authentication_classes = []
def post(self, request):
"""
处理POST请求返回公告和轮播图数据