|
|
@@ -41,8 +41,8 @@ public class BankLoginServiceImpl implements BankLoginService {
|
|
|
if (!(sysUser.getEnabled() == 1)) {
|
|
|
throw new AccountNoActivationException("账号未激活!");
|
|
|
}
|
|
|
- onlineUserService.kickOutForPhoneUsername(loginVo.getPhone());
|
|
|
// 先移除已经登录的账号
|
|
|
+ onlineUserService.kickOutForPhoneUsername(loginVo.getPhone());
|
|
|
String token = tokenProvider.appToken(loginVo.getPhone());
|
|
|
tokenProvider.setTokenTime(token, JSONObject.toJSONString(sysUser));
|
|
|
BankLoginVO bankLoginVO = new BankLoginVO();
|