update
This commit is contained in:
parent
a9410657b5
commit
a157bffbfe
Binary file not shown.
@ -42,7 +42,7 @@ async def send_vcode(phone: str, stype: str, vcode: dict) -> dict:
|
||||
return await engine.send_vcode(phone, stype, vcode)
|
||||
|
||||
|
||||
async def send_sms(phone: str, stype: str, params: dict) -> dict:
|
||||
async def send_sms(phone: str, stype: str) -> dict:
|
||||
engine = get_sms_engine()
|
||||
return await engine.send_sms(phone, stype, params)
|
||||
|
||||
|
||||
@ -286,7 +286,7 @@ async def main():
|
||||
# results.append(("generate_sms_code(自定义参数)", r))
|
||||
|
||||
# results.append(("check_sms_code(错误验证码)", await test_check_sms_code_wrong()))
|
||||
results.append(("check_sms_code(正确验证码)", await test_check_sms_code_correct()))
|
||||
# results.append(("check_sms_code(正确验证码)", await test_check_sms_code_correct()))
|
||||
# results.append(("check_sms_code(无效codeid)", await test_check_sms_code_invalid_codeid()))
|
||||
# results.append(("check_sms_code(已过期)", await test_check_sms_code_expired()))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user