...
|
...
|
@@ -26,7 +26,7 @@ module.exports = function(useInRegister, useForBind) { |
|
|
|
|
|
function startBind() {
|
|
|
$.ajax({
|
|
|
url: '/passport/bind/bindMobile',
|
|
|
url: useForBind ? '/passport/bind/bindMobile' : '/passport/bind/relateMobile',
|
|
|
type: 'post',
|
|
|
data: {
|
|
|
areaCode: areaCode.replace('+', ''),
|
...
|
...
|
@@ -34,7 +34,8 @@ module.exports = function(useInRegister, useForBind) { |
|
|
openId: openId,
|
|
|
sourceType: sourceType,
|
|
|
nickname: nickname,
|
|
|
password: ''
|
|
|
password: '',
|
|
|
code: trim($captcha.val())
|
|
|
},
|
|
|
success: function(res) {
|
|
|
if (res.code === 200) {
|
...
|
...
|
|