Authored by htoooth

fix

@@ -251,7 +251,7 @@ const bind = { @@ -251,7 +251,7 @@ const bind = {
251 let code = _.trim(req.body.code); 251 let code = _.trim(req.body.code);
252 let password = _.trim(req.body.password) || ''; 252 let password = _.trim(req.body.password) || '';
253 253
254 - req.ctx(BindService).bindMobile(openId, sourceType, mobile, area, password, code).then(result => { 254 + req.ctx(BindService).bindMobile(openId, sourceType, mobile, area, password, null, code).then(result => {
255 if (result && result.code) { 255 if (result && result.code) {
256 if (result.code === 200 && result.data && result.data.uid) { 256 if (result.code === 200 && result.data && result.data.uid) {
257 let refer = helpers.urlFormat('/passport/thirdlogin/bindsuccess', { 257 let refer = helpers.urlFormat('/passport/thirdlogin/bindsuccess', {