From ebc58083edd1342aad6bc81936608c824fae7fa8 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 03 六月 2024 11:43:35 +0800
Subject: [PATCH] 注册接口放行

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

diff --git a/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationProvider.java b/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationProvider.java
index 1e4bcee..d7904ce 100644
--- a/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationProvider.java
+++ b/src/main/java/com/ycl/jxkg/config/spring/security/RestAuthenticationProvider.java
@@ -54,7 +54,7 @@
         String username = authentication.getName();
         String password = (String) authentication.getCredentials();
 
-        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("鐢ㄦ埛鍚嶆垨瀵嗙爜閿欒");
         }

--
Gitblit v1.8.0