fix: adjust api of add_interaction 3
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-09-21 15:02:29 +08:00
parent 8ca5843a62
commit c3cd257cbf
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def add_interaction(json_data):
except Exception as e: except Exception as e:
raise AddInteractionError(extra_data={'error_docs': str(e)}) raise AddInteractionError(extra_data={'error_docs': str(e)})
if is_existed: if is_existed:
return {'msg': '已经提交过,不能再次提交', 'code': 401} return {'msg': '不能重复提交了', 'code': 401}
return {'msg': 'add interaction successfully', 'code': 200} return {'msg': 'add interaction successfully', 'code': 200}