This commit is contained in:
1 parent
8ca5843a62
commit
c3cd257cbf
1 file changed
+1
-1
@@ -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}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user