From 536a8bbbe42c527ef9eaee9a8a8d2ee3615f5a11 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 14 一月 2025 16:19:04 +0800 Subject: [PATCH] 文档智能过程信息显示 --- app/api/dialog.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/app/api/dialog.py b/app/api/dialog.py index 799d7ea..45db470 100644 --- a/app/api/dialog.py +++ b/app/api/dialog.py @@ -20,7 +20,9 @@ current_user: UserModel = Depends(get_current_user), db=Depends(get_db)): if current and not pageSize: - return ResponseList(code=400, msg="缂哄皯鍙傛暟") + return Response(code=400, msg="缂哄皯鍙傛暟") + if status and status not in ["0", "1"]: + return Response(code=400, msg="Parameter status exception") return Response(code=200, msg="", data=await get_dialog_list(db, current_user.id, keyword, label, status, pageSize, current)) -- Gitblit v1.8.0