From c3cd257cbf449bb5a4903684f321b8c1e0153992 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Thu, 21 Sep 2023 15:02:29 +0800 Subject: [PATCH] fix: adjust api of add_interaction 3 --- app/api/v1/interaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/interaction.py b/app/api/v1/interaction.py index dbc2c13..b294346 100644 --- a/app/api/v1/interaction.py +++ b/app/api/v1/interaction.py @@ -27,7 +27,7 @@ def add_interaction(json_data): except Exception as e: raise AddInteractionError(extra_data={'error_docs': str(e)}) if is_existed: - return {'msg': '已经提交过,不能再次提交~', 'code': 401} + return {'msg': '不能重复提交了~', 'code': 401} return {'msg': 'add interaction successfully', 'code': 200}