From 38f9471ecf47b7c15b352113bc0f5a2ec1e64e7b Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 16 七月 2024 09:24:13 +0800
Subject: [PATCH] 登录返回vo修改,个人中心接口,用户列表权限验证

---
 src/main/java/com/ycl/jxkg/config/spring/security/RestDetailsServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/ycl/jxkg/config/spring/security/RestDetailsServiceImpl.java b/src/main/java/com/ycl/jxkg/config/spring/security/RestDetailsServiceImpl.java
index 38e01ee..005a33c 100644
--- a/src/main/java/com/ycl/jxkg/config/spring/security/RestDetailsServiceImpl.java
+++ b/src/main/java/com/ycl/jxkg/config/spring/security/RestDetailsServiceImpl.java
@@ -1,6 +1,6 @@
 package com.ycl.jxkg.config.spring.security;
 
-import com.ycl.jxkg.domain.enums.RoleEnum;
+import com.ycl.jxkg.enums.RoleEnum;
 import com.ycl.jxkg.service.UserService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.security.core.GrantedAuthority;
@@ -38,7 +38,7 @@
     @Override
     public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
 
-        com.ycl.jxkg.domain.User user = userService.getUserByUserName(username);
+        com.ycl.jxkg.domain.entity.User user = userService.getUserByUserName(username);
 
         if (user == null) {
             throw new UsernameNotFoundException("Username  not found.");

--
Gitblit v1.8.0