...
|
...
|
@@ -249,10 +249,14 @@ function sendMobileMsg(mobileV) { |
|
|
mobile: mobileV
|
|
|
};
|
|
|
|
|
|
captcha.hideTip();
|
|
|
|
|
|
if (baseQs.checkCode) {
|
|
|
reqData.checkCode = baseQs.checkCode;
|
|
|
}
|
|
|
|
|
|
reqData.verifyCode = captcha.getResults();
|
|
|
|
|
|
$.post('/home/account/sendmobilemsg', reqData, function(data) {
|
|
|
if (typeof data.code !== 'undefined' && data.code === 200) {
|
|
|
canSend = false;
|
...
|
...
|
@@ -260,6 +264,8 @@ function sendMobileMsg(mobileV) { |
|
|
code();
|
|
|
}, 1000);
|
|
|
$ccheckInfo.html('');
|
|
|
} else if (data.code && data.code === 405) {
|
|
|
captcha.showTip(data.message);
|
|
|
} else {
|
|
|
$ccheckInfo.html('<div class="form-error">验证码发送失败</div>');
|
|
|
}
|
...
|
...
|
@@ -476,9 +482,7 @@ $(function() { |
|
|
});
|
|
|
|
|
|
$('#send-mobile-code').on('click', function() {
|
|
|
captcha.check().then(function() {
|
|
|
sendcode();
|
|
|
});
|
|
|
sendcode();
|
|
|
});
|
|
|
|
|
|
if ($('#newPwd').length > 0) {
|
...
|
...
|
|