...
|
...
|
@@ -923,6 +923,9 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
email = req.body.email || '',
|
|
|
resqData = {code: 400};
|
|
|
|
|
|
let id = req.session.id;
|
|
|
let captcha = req.body.verifyCode;
|
|
|
|
|
|
let accountDataModel = new AccountApi(that.ctx),
|
|
|
verifyInfo = yield accountDataModel.getVerifyInfo(uid);
|
|
|
|
...
|
...
|
@@ -939,7 +942,7 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
let callback = 'home/account/' + checkType + '?step=2&checkCode=' +
|
|
|
encodeURIComponent(ckCode); // callback拼接于邮箱域名处;
|
|
|
|
|
|
resqData = yield accountDataModel.sendVerifyEmailForNext(email, callback);
|
|
|
resqData = yield accountDataModel.sendVerifyEmailForNext(email, callback, id, captcha);
|
|
|
return resqData;
|
|
|
})();
|
|
|
}
|
...
|
...
|
|