Authored by 周少峰

bind captha

{
"name": "yohobuy-node",
"version": "5.6.6",
"version": "5.6.7",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -19,7 +19,7 @@ var $wrapper = $('.bindwrapper'),
$nextBtn = $wrapper.find('.yohobindbtn');
var captcha = new Captcha('#captcha').init();
var captcha2 = new Captcha('#captcha2').init();
var captcha2;
require('../../simple-header');
... ... @@ -356,6 +356,7 @@ function nextStep() {
$('#bindmobileform').attr('action', data.data.next);
$('#bindmobileform').submit();
} else if (data.code === 201) {
captcha2 = new Captcha('#captcha2').init();
// 已注册 未绑定
username = data.data.user.username;
... ...