From 941527e7ee82fcbd80b1eb012e70aaa057e68589 Mon Sep 17 00:00:00 2001 From: lanceyq <1982376970@qq.com> Date: Tue, 3 Mar 2026 16:47:50 +0800 Subject: [PATCH] [changes] Modify the pop-up window for emotional suggestions at the backend --- api/app/controllers/emotion_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app/controllers/emotion_controller.py b/api/app/controllers/emotion_controller.py index 8cfc5014..ea7b719f 100644 --- a/api/app/controllers/emotion_controller.py +++ b/api/app/controllers/emotion_controller.py @@ -295,8 +295,8 @@ async def get_emotion_suggestions( f"用户 {request.end_user_id} 的建议数据不存在", extra={"end_user_id": request.end_user_id} ) - return success( - data={"exists": False}, + return fail( + code=404, msg="情绪建议数据不存在,请点击右上角刷新进行初始化" )