feat: 对话记录权限限制

This commit is contained in:
shaohuzhang1 2023-12-07 15:30:02 +08:00
parent c62a12c237
commit 65d621e8be

View File

@ -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="获取对话记录列表",