...
|
...
|
@@ -50,8 +50,8 @@ module.exports = function(useInRegister) { |
|
|
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: '/passport/' + urlMid + '/sendPhone'
|
|
|
}).then(function (data) {
|
|
|
url: '/passport/' + urlMid + '/sendPhone',
|
|
|
success: function(data) {
|
|
|
if (data.code === 200) {
|
|
|
$captchaTip.text('重发验证码 (60秒)').addClass('disable');
|
|
|
countDown();
|
...
|
...
|
@@ -60,6 +60,7 @@ module.exports = function(useInRegister) { |
|
|
//验证码不正确,显示提示
|
|
|
showErrTip(data.message);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
|
...
|
...
|
@@ -73,8 +74,8 @@ module.exports = function(useInRegister) { |
|
|
url: '/passport/' + urlMid + '/verifycode',
|
|
|
data: {
|
|
|
verifyCode: trim($captcha.val())
|
|
|
}
|
|
|
}).then(function (data) {
|
|
|
},
|
|
|
success: function(data) {
|
|
|
if (data.code === 200) {
|
|
|
location.href = data.data;
|
|
|
} else {
|
...
|
...
|
@@ -82,6 +83,7 @@ module.exports = function(useInRegister) { |
|
|
//验证码不正确,显示提示
|
|
|
showErrTip(data.message);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
|
...
|
...
|
|