...
|
...
|
@@ -23,7 +23,7 @@ module.exports = function(useInRegister, useForBind, useForRelate) { |
|
|
|
|
|
var urlMid = useInRegister ? 'reg' : 'back';
|
|
|
|
|
|
// var isReg = parseInt($('#isReg').val());
|
|
|
var isReg = parseInt($('#isReg').val());
|
|
|
|
|
|
function startBind() {
|
|
|
$.ajax({
|
...
|
...
|
@@ -133,7 +133,14 @@ module.exports = function(useInRegister, useForBind, useForRelate) { |
|
|
}
|
|
|
|
|
|
if (useForBind || useForRelate) {
|
|
|
startBind();
|
|
|
if (isReg) {
|
|
|
startBind();
|
|
|
} else {
|
|
|
location.href = '/passport/bind/password?phoneNum=' +
|
|
|
phoneNum + '&areaCode=' + areaCode + '&openId=' +
|
|
|
openId + '&sourceType=' + sourceType + '&nickname=' + nickname;
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
startReg();
|
|
|
}
|
...
|
...
|
|