From 0b0ffef0a59a2733b94be6cef4fc8ae093620d72 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 03 七月 2024 18:38:01 +0800 Subject: [PATCH] 作弊代码生成 --- src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationSuccessHandler.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationSuccessHandler.java b/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationSuccessHandler.java index 4d28777..7c2a229 100644 --- a/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationSuccessHandler.java +++ b/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationSuccessHandler.java @@ -1,7 +1,7 @@ package com.ycl.jxkg.config.spring.security; import com.ycl.jxkg.base.SystemCode; -import com.ycl.jxkg.domain.UserEventLog; +import com.ycl.jxkg.domain.entity.UserEventLog; import com.ycl.jxkg.event.UserEvent; import com.ycl.jxkg.service.UserService; import org.springframework.beans.factory.annotation.Autowired; @@ -47,12 +47,12 @@ Object object = authentication.getPrincipal(); if (null != object) { User springUser = (User) object; - com.ycl.jxkg.domain.User user = userService.getUserByUserName(springUser.getUsername()); + com.ycl.jxkg.domain.entity.User user = userService.getUserByUserName(springUser.getUsername()); if (null != user) { UserEventLog userEventLog = new UserEventLog(user.getId(), user.getUserName(), user.getRealName(), new Date()); - userEventLog.setContent(user.getUserName() + " 鐧诲綍浜嗗涔嬫�濆紑婧愯�冭瘯绯荤粺"); + userEventLog.setContent(user.getUserName() + " 鐧诲綍浜嗘睙瑗胯闊宠棰戝煿璁郴缁�"); eventPublisher.publishEvent(new UserEvent(userEventLog)); - com.ycl.jxkg.domain.User newUser = new com.ycl.jxkg.domain.User(); + com.ycl.jxkg.domain.entity.User newUser = new com.ycl.jxkg.domain.entity.User(); newUser.setUserName(user.getUserName()); newUser.setImagePath(user.getImagePath()); RestUtil.response(response, SystemCode.OK.getCode(), SystemCode.OK.getMessage(), newUser); -- Gitblit v1.8.0