...
|
...
|
@@ -347,7 +347,6 @@ const bind = { |
|
|
// 第三方绑定手机号发送短信
|
|
|
thirdSendMsgApi: (req, res, next) => {
|
|
|
req.ctx(BindServiceModel).sendThirdBindMobileCodeOnly(Object.assign({}, req.body, {
|
|
|
udid: req.cookies.udid,
|
|
|
superCapture: req.body.geetest_challenge ? config.superCapture : ''
|
|
|
})).then(result => {
|
|
|
if (_.get(result, 'code', 400) === 200) {
|
...
|
...
|
@@ -382,7 +381,6 @@ const bind = { |
|
|
// 通过邮箱绑定手机号发送短信
|
|
|
sendMsgApi: (req, res, next) => {
|
|
|
req.ctx(BindServiceModel).sendChangeBindMobileCodeOnly(Object.assign({}, req.body, {
|
|
|
udid: req.cookies.udid,
|
|
|
superCapture: req.body.geetest_challenge ? config.superCapture : ''
|
|
|
})).then(result => {
|
|
|
if (_.get(result, 'code', 400) === 200) {
|
...
|
...
|
|