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="情绪建议数据不存在,请点击右上角刷新进行初始化" )