This commit is contained in:
yumoqing 2023-05-30 19:30:00 +08:00
parent acf3037527
commit dafda0adc8

View File

@ -22,7 +22,7 @@ def validate_code(id, cnt=6):
j += 1
if len(code) >= cnt:
break
return code
return ''.join(code)
def check_code(id, code):
c = validate_code(id)