...
|
...
|
@@ -351,6 +351,7 @@ function checkVerifyCode(phoneNumb, verifyCode, areaCode, inviteCode, callbackFu |
|
|
if (data.code === 200 && (data.data.uid !== null) && data.data.uid > 0 && data.data.uid !== undefined) {//验证正确
|
|
|
if(data.data.nFlag === 'Y') {
|
|
|
event.emit('report-new-user-created');
|
|
|
event.emit('store-new-user-created');
|
|
|
}
|
|
|
let userInfo = {}
|
|
|
userInfo.ssouid = data.data.ssouid;
|
...
|
...
|
@@ -458,6 +459,7 @@ function autoSignin(mobile, verifyCode, areaCode, inviteCode, callbackFunc) { |
|
|
|
|
|
if(data.data.nFlag === 'Y') {
|
|
|
event.emit('report-new-user-created');
|
|
|
event.emit('store-new-user-created');
|
|
|
}
|
|
|
|
|
|
let userInfo = {}
|
...
|
...
|
@@ -565,6 +567,7 @@ function BindMiniAppByAuto(mobile, countryCode, inviteCode, callbackFunc){ |
|
|
|
|
|
if(data.data && data.data.nFlag === 'Y') {
|
|
|
event.emit('report-new-user-created');
|
|
|
event.emit('store-new-user-created');
|
|
|
}
|
|
|
|
|
|
if (data.data.is_register !== undefined && data.data.is_register !== null && data.data.is_register === 0) {
|
...
|
...
|
|