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