feat: 对话记录权限限制
parent
c62a12c237
commit
65d621e8be
|
|
@ -150,6 +150,8 @@ class ChatView(APIView):
|
||||||
'chat_id': chat_id}).list())
|
'chat_id': chat_id}).list())
|
||||||
|
|
||||||
class Page(APIView):
|
class Page(APIView):
|
||||||
|
authentication_classes = [TokenAuth]
|
||||||
|
|
||||||
@action(methods=['GET'], detail=False)
|
@action(methods=['GET'], detail=False)
|
||||||
@swagger_auto_schema(operation_summary="获取对话记录列表",
|
@swagger_auto_schema(operation_summary="获取对话记录列表",
|
||||||
operation_id="获取对话记录列表",
|
operation_id="获取对话记录列表",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue