xiangpei
2024-06-03 a6c64679fa5f9b927fd01f85a627d63828912a3f
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("用户名或密码错误");
        }