This commit is contained in:
ping 2026-03-19 16:55:16 +08:00
parent a9410657b5
commit a157bffbfe
4 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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()))