Commit 37b30b2b authored by 唐峰's avatar 唐峰

publish event

parent 879ddd1b
......@@ -99,8 +99,9 @@ public class SessionServiceImpl implements ISessionService {
if (send) {
//更新user_tag记录
applicationEventPublisher.publishEvent(new UserLoginEvent(this, UserTag.builder()
.userId(user.getId()).registeredFrom(properties.getCreatedFrom()).tenantId(user.getTenantId()).build()));
UserLoginEvent userLoginEvent = new UserLoginEvent(this, UserTag.builder()
.userId(user.getId()).registeredFrom(properties.getCreatedFrom()).tenantId(user.getTenantId()).build());
applicationEventPublisher.publishEvent(userLoginEvent);
}
return authBean;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment