Authored by yyq

Merge branch 'feature/emaildel' into release/6.3

@@ -326,11 +326,12 @@ module.exports = class extends global.yoho.BaseModel { @@ -326,11 +326,12 @@ module.exports = class extends global.yoho.BaseModel {
326 red: 'true', 326 red: 'true',
327 url: helpers.urlFormat('/home/account/userpwd'), 327 url: helpers.urlFormat('/home/account/userpwd'),
328 isValid: true 328 isValid: true
329 - }, {  
330 - icon: 'warning',  
331 - type: '邮箱验证',  
332 - tip: '验证后,可用于找回登录密码。',  
333 - url: helpers.urlFormat('/home/account/email') 329 +
  330 + // }, {
  331 + // icon: 'warning',
  332 + // type: '邮箱验证',
  333 + // tip: '验证后,可用于找回登录密码。',
  334 + // url: helpers.urlFormat('/home/account/email')
334 }, { 335 }, {
335 icon: 'warning', 336 icon: 'warning',
336 type: '手机验证', 337 type: '手机验证',
@@ -343,13 +344,13 @@ module.exports = class extends global.yoho.BaseModel { @@ -343,13 +344,13 @@ module.exports = class extends global.yoho.BaseModel {
343 if (verifyResult.data) { 344 if (verifyResult.data) {
344 let verifyData = verifyResult.data; 345 let verifyData = verifyResult.data;
345 346
346 - resq[1].icon = verifyData.emailVerify === 'N' ? 'warning' : 'ok';  
347 - resq[1].tip = verifyData.emailVerify === 'N' ? '验证后,可用于找回登录密码。' :  
348 - '您验证的邮箱:' + verifyData.email.slice(0, 2) + '****' + verifyData.email.slice(6);  
349 - resq[1].isValid = verifyData.emailVerify === 'N' ? false : true;  
350 - resq[2].icon = verifyData.mobileVerify === 'N' ? 'warning' : 'ok';  
351 - resq[2].isValid = verifyData.mobileVerify === 'N' ? false : true;  
352 - resq[2].tip = verifyData.mobileVerify === 'N' ? '验证后,可用于找回登录密码。' : 347 + // resq[1].icon = verifyData.emailVerify === 'N' ? 'warning' : 'ok';
  348 + // resq[1].tip = verifyData.emailVerify === 'N' ? '验证后,可用于找回登录密码。' :
  349 + // '您验证的邮箱:' + verifyData.email.slice(0, 2) + '****' + verifyData.email.slice(6);
  350 + // resq[1].isValid = verifyData.emailVerify === 'N' ? false : true;
  351 + resq[1].icon = verifyData.mobileVerify === 'N' ? 'warning' : 'ok';
  352 + resq[1].isValid = verifyData.mobileVerify === 'N' ? false : true;
  353 + resq[1].tip = verifyData.mobileVerify === 'N' ? '验证后,可用于找回登录密码。' :
353 '您验证的手机:' + verifyData.mobile.slice(0, 3) + '****' + verifyData.mobile.slice(7); 354 '您验证的手机:' + verifyData.mobile.slice(0, 3) + '****' + verifyData.mobile.slice(7);
354 } 355 }
355 356
@@ -223,7 +223,7 @@ router.get('/account', tabsMiddleware.getCommonHeader, AccountController.index); @@ -223,7 +223,7 @@ router.get('/account', tabsMiddleware.getCommonHeader, AccountController.index);
223 223
224 router.get('/account/userpwd', tabsMiddleware.getCommonHeader, captcha.required, AccountController.userPwd); 224 router.get('/account/userpwd', tabsMiddleware.getCommonHeader, captcha.required, AccountController.userPwd);
225 225
226 -router.get('/account/email', tabsMiddleware.getCommonHeader, captcha.required, AccountController.userEmail); 226 +// router.get('/account/email', tabsMiddleware.getCommonHeader, captcha.required, AccountController.userEmail);
227 227
228 router.get('/account/mobile', tabsMiddleware.getCommonHeader, captcha.required, AccountController.userMobile); 228 router.get('/account/mobile', tabsMiddleware.getCommonHeader, captcha.required, AccountController.userMobile);
229 229
@@ -235,13 +235,13 @@ router.post('/account/modifypwd', tabsMiddleware.getCommonHeader, AccountControl @@ -235,13 +235,13 @@ router.post('/account/modifypwd', tabsMiddleware.getCommonHeader, AccountControl
235 235
236 router.post('/account/sendemail', AccountController.sendEmail); 236 router.post('/account/sendemail', AccountController.sendEmail);
237 237
238 -router.post('/account/checkemail', tabsMiddleware.getCommonHeader, AccountController.checkEmail); 238 +// router.post('/account/checkemail', tabsMiddleware.getCommonHeader, AccountController.checkEmail);
239 239
240 -router.post('/account/modifyemail', tabsMiddleware.getCommonHeader, AccountController.modifyEmail); 240 +// router.post('/account/modifyemail', tabsMiddleware.getCommonHeader, AccountController.modifyEmail);
241 241
242 router.get('/account/sendemailsuccess', tabsMiddleware.getCommonHeader, AccountController.sendEmailSuccess); 242 router.get('/account/sendemailsuccess', tabsMiddleware.getCommonHeader, AccountController.sendEmailSuccess);
243 243
244 -router.get('/account/mailresult', tabsMiddleware.getCommonHeader, AccountController.mailResult); 244 +// router.get('/account/mailresult', tabsMiddleware.getCommonHeader, AccountController.mailResult);
245 245
246 router.post('/account/checkmobile', AccountController.checkMobile); 246 router.post('/account/checkmobile', AccountController.checkMobile);
247 247