Authored by shuaiguo

Merge branch 'hotfix/magazine-style'

@@ -139,7 +139,7 @@ router.get('/passport/img-check-risk.jpg', captcha.imgCheckRisk); @@ -139,7 +139,7 @@ router.get('/passport/img-check-risk.jpg', captcha.imgCheckRisk);
139 * 注册 139 * 注册
140 */ 140 */
141 router.use('/passport/reg/*', disableBFCahce); 141 router.use('/passport/reg/*', disableBFCahce);
142 -router.post('/passport/reg/verifymobile', validateCode.check, reg.sendCodeBusyBoy, reg.verifyMobile); 142 +router.post('/passport/reg/verifymobile', reg.sendCodeBusyBoy, reg.verifyMobile);
143 143
144 // 新的登录注册 144 // 新的登录注册
145 const LoginNew = require('./controllers/login-new'); 145 const LoginNew = require('./controllers/login-new');
1 { 1 {
2 "name": "yohobuywap-node", 2 "name": "yohobuywap-node",
3 - "version": "6.13.8", 3 + "version": "6.13.9",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {
@@ -263,29 +263,31 @@ class RegisterNew { @@ -263,29 +263,31 @@ class RegisterNew {
263 }; 263 };
264 264
265 if (api.phoneRegx[areaCode].test(phoneNum) || areaCode !== '+86') { 265 if (api.phoneRegx[areaCode].test(phoneNum) || areaCode !== '+86') {
266 - validate.getResults().then(result => {  
267 - $.extend(params, result); 266 + // validate.getResults().then(result => {
  267 + // $.extend(params, result);
268 $.ajax({ 268 $.ajax({
269 url: '/passport/reg/verifymobile', 269 url: '/passport/reg/verifymobile',
270 type: 'POST', 270 type: 'POST',
271 data: params, 271 data: params,
272 success: postResult => { 272 success: postResult => {
273 - validate.type === 2 && validate.refresh(); 273 + // validate.type === 2 && validate.refresh();
274 if (postResult.code === 200) { 274 if (postResult.code === 200) {
275 - this.view.tokenInput.val(postResult.data.token); 275 + // this.view.tokenInput.val(postResult.data.token);
276 this.countDown(); 276 this.countDown();
277 } else { 277 } else {
278 - (postResult.changeCaptcha && validate.type !== 2) && validate.refresh(); 278 + // (postResult.changeCaptcha && validate.type !== 2) && validate.refresh();
279 279
280 showErrTip(postResult.message); 280 showErrTip(postResult.message);
281 } 281 }
282 }, 282 },
283 error: () => { 283 error: () => {
284 showErrTip('出错了,请重试'); 284 showErrTip('出错了,请重试');
285 - validate.refresh(); 285 +
  286 + // validate.refresh();
286 } 287 }
287 }); 288 });
288 - }); 289 +
  290 + // });
289 } else { 291 } else {
290 showErrTip('手机号输入有错误'); 292 showErrTip('手机号输入有错误');
291 } 293 }