Authored by 郝肖肖

Merge branch 'feature/leak' into feature/veriCodeInvalid

... ... @@ -189,6 +189,8 @@ const bind = {
let area = req.body.area || '86';
let sourceType = req.body.sourceType;
req.session.captchaCount = 4; // 防止用户多次单击下一步,而发送短信
if (req.session.type !== 'relateStep1') {
return res.json({code: 400, message: '非法请求'});
}
... ...
... ... @@ -170,6 +170,7 @@ function closeMask() {
$('.backdrop').hide();
}
});
$(document).on('click', '#bindconfirm', function(e) {
$target = $(e.target);
if ($target.hasClass('mask') || $target.hasClass('backdrop')) {
... ... @@ -189,6 +190,7 @@ function yohoBindBtn() {
$('#bindconfirm').hide();
$('.backdrop').hide();
});
$(document).on('click', '#yohobindbtn2', function() {
$('.phonenum').val('');
$('#alreayregist').hide();
... ... @@ -228,8 +230,6 @@ function circleTime() {
* @return {[type]} [description]
*/
function sendMessageValidate() {
circleTime($('#mobile').val());
$(document).on('click', '#sendmessage', function() {
if ($('#sendmessage').attr('disabled') === 'disabled') {
return;
... ... @@ -375,6 +375,9 @@ function nextStep() {
'padding-top': winHeight > 440 ? winHeight / 2 : 217
});
$('#alreayregist').show();
// 201 code send msg
circleTime($('#mobile').val());
} else if (data.code === 203) {
// 已注册 可关联
$('#bindmobileform').attr('action', data.data.next);
... ...