Commit 022710c0 authored by fangzhipeng's avatar fangzhipeng

添加测试账号

parent f28f3c85
...@@ -48,6 +48,8 @@ def check_verify_code(phone, verify_code): ...@@ -48,6 +48,8 @@ def check_verify_code(phone, verify_code):
:param verify_code: :param verify_code:
:return: :return:
""" """
if phone == '11122223333' and verify_code[0:4] == '1112':
return
verify_code_key = USER_VERIFY_CODE_PREFIX + phone verify_code_key = USER_VERIFY_CODE_PREFIX + phone
redis_verify_code = redis_service.get(verify_code_key) redis_verify_code = redis_service.get(verify_code_key)
if not redis_verify_code: if not redis_verify_code:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment