...
|
...
|
@@ -469,10 +469,11 @@ function validateCaptchaSmsLocal() { |
|
|
// 网络验证短信验证码
|
|
|
// Note: 这里的验证码只能成功验证一次,十分钟内有效
|
|
|
function validateCaptchaSmsAsync() {
|
|
|
var smsToken = $.trim($captchaSmsTokenHideInput.val());
|
|
|
var smsToken = getCaptchaSmsTokenVal();
|
|
|
|
|
|
if (!smsToken) {
|
|
|
return $.Deferred().resolve().promise; // eslint-disable-line
|
|
|
if (smsToken === '') {
|
|
|
showCaptchaSmsTip('验证码不正确');
|
|
|
return $.Deferred().reject().promise(); // eslint-disable-line
|
|
|
}
|
|
|
|
|
|
return $.ajax({
|
...
|
...
|
|