except:
return u'时间错误,非合法时间'
if xlen == 18:
y = 0
for i in range(17):
y += int(x1[i]) * ARR[i]
if LAST[y % 11] != x1[-1].upper():
return u'验证码错误'
return u'YES'
def
if xlen == 18:
y = 0
for i in range(17):
y += int(x1[i]) * ARR[i]
if LAST[y % 11] != x1[-1].upper():
return u'验证码错误'
return u'YES'
def