xiangpei
2024-06-03 ebc58083edd1342aad6bc81936608c824fae7fa8
src/main/java/com/ycl/jxkg/config/spring/security/RestDetailsServiceImpl.java
@@ -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.");