v1.1 去掉用户登录后自动发送的‘支持登录密码’的消息
This commit is contained in:
@@ -175,8 +175,8 @@ public class MyUserDetailsServiceImpl implements MyUserDetailsService {
|
|||||||
|
|
||||||
accountManageService.checkAccountCancel(uid);
|
accountManageService.checkAccountCancel(uid);
|
||||||
|
|
||||||
AccountLoginRecord latestLoginRecord = loginRecordService.getLatestLoginRecord(uid);
|
//AccountLoginRecord latestLoginRecord = loginRecordService.getLatestLoginRecord(uid);
|
||||||
sendPasswordVersionMsgToUser(uid, latestLoginRecord == null ? null : latestLoginRecord.getAppVersion(), deviceInfo.getAppVersion());
|
//sendPasswordVersionMsgToUser(uid, latestLoginRecord == null ? null : latestLoginRecord.getAppVersion(), deviceInfo.getAppVersion());
|
||||||
|
|
||||||
//更新account信息
|
//更新account信息
|
||||||
String newToken = accountService.refreshAndGetNetEaseToken(account);
|
String newToken = accountService.refreshAndGetNetEaseToken(account);
|
||||||
@@ -269,8 +269,8 @@ public class MyUserDetailsServiceImpl implements MyUserDetailsService {
|
|||||||
//YiDunDto yiDunDto = accountManageService.buildYiDunDto(oAuthConfig, ipAddress, yiDunToken, null,null, deviceInfo);
|
//YiDunDto yiDunDto = accountManageService.buildYiDunDto(oAuthConfig, ipAddress, yiDunToken, null,null, deviceInfo);
|
||||||
//ShuMeiDto shuMeiDto = accountManageService.buildShuMeiDto(oAuthConfig, deviceInfo, phone, ipAddress, phone, shuMeiDeviceId,"register");
|
//ShuMeiDto shuMeiDto = accountManageService.buildShuMeiDto(oAuthConfig, deviceInfo, phone, ipAddress, phone, shuMeiDeviceId,"register");
|
||||||
account = accountManageService.register(ipAddress, deviceInfo, Constant.AccountType.phone_account, null, null, phone);
|
account = accountManageService.register(ipAddress, deviceInfo, Constant.AccountType.phone_account, null, null, phone);
|
||||||
AccountLoginRecord latestLoginRecord = loginRecordService.getLatestLoginRecord(account.getUid());
|
//AccountLoginRecord latestLoginRecord = loginRecordService.getLatestLoginRecord(account.getUid());
|
||||||
sendPasswordVersionMsgToUser(account.getUid(), latestLoginRecord == null ? null : latestLoginRecord.getAppVersion(), deviceInfo.getAppVersion());
|
//sendPasswordVersionMsgToUser(account.getUid(), latestLoginRecord == null ? null : latestLoginRecord.getAppVersion(), deviceInfo.getAppVersion());
|
||||||
return new AccountDetails(account);
|
return new AccountDetails(account);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user