Merge pull request #453 from SuanmoSuanyangTechnology/fix/time_task

[changes] Emotional suggestions should not return error messages.
This commit is contained in:
Ke Sun
2026-03-04 16:26:07 +08:00
committed by GitHub

View File

@@ -295,8 +295,8 @@ async def get_emotion_suggestions(
f"用户 {request.end_user_id} 的建议数据不存在",
extra={"end_user_id": request.end_user_id}
)
return fail(
code=404,
return success(
data={"exists": False},
msg="情绪建议数据不存在,请点击右上角刷新进行初始化"
)