changes
This commit is contained in:
parent
d3f12e38c0
commit
50141f7468
|
@ -71,6 +71,7 @@ def send_vcode_to_user_route():
|
|||
obj.email = req['email']
|
||||
obj.send_vcode_email()
|
||||
return {"info": "发送成功"}, 200
|
||||
except ReturnConditionCheckFailed as e:
|
||||
e.log_error()
|
||||
return {"info": e.__str__()}, e.status_code
|
||||
except AssertionError as e:
|
||||
return {"info": e.__str__()}, 202
|
||||
except AttrCheckError as e:
|
||||
return {"info": e.__str__()}, 202
|
||||
|
|
Loading…
Reference in New Issue