From 65d621e8bee3462c221903e74378d68b9257d634 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Thu, 7 Dec 2023 15:30:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=B9=E8=AF=9D=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=9D=83=E9=99=90=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/application/views/chat_views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/application/views/chat_views.py b/apps/application/views/chat_views.py index 5484c71dc..0ed0228f5 100644 --- a/apps/application/views/chat_views.py +++ b/apps/application/views/chat_views.py @@ -150,6 +150,8 @@ class ChatView(APIView): 'chat_id': chat_id}).list()) class Page(APIView): + authentication_classes = [TokenAuth] + @action(methods=['GET'], detail=False) @swagger_auto_schema(operation_summary="获取对话记录列表", operation_id="获取对话记录列表",