From cd59ededbf05a0ae73b8f4944fbf40a1fb01d28a Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期一, 11 十一月 2024 18:03:43 +0800 Subject: [PATCH] 错题详情 --- src/main/java/com/ycl/jxkg/service/impl/AuthenticationServiceImpl.java | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/impl/AuthenticationServiceImpl.java b/src/main/java/com/ycl/jxkg/service/impl/AuthenticationServiceImpl.java index 1610e30..4b28628 100644 --- a/src/main/java/com/ycl/jxkg/service/impl/AuthenticationServiceImpl.java +++ b/src/main/java/com/ycl/jxkg/service/impl/AuthenticationServiceImpl.java @@ -1,7 +1,7 @@ package com.ycl.jxkg.service.impl; import com.ycl.jxkg.config.property.SystemConfig; -import com.ycl.jxkg.domain.User; +import com.ycl.jxkg.domain.entity.User; import com.ycl.jxkg.service.AuthenticationService; import com.ycl.jxkg.service.UserService; import com.ycl.jxkg.utils.RsaUtil; @@ -12,28 +12,12 @@ @Service public class AuthenticationServiceImpl implements AuthenticationService { - - private final UserService userService; private final SystemConfig systemConfig; @Autowired - public AuthenticationServiceImpl(UserService userService, SystemConfig systemConfig) { - this.userService = userService; + public AuthenticationServiceImpl(SystemConfig systemConfig) { this.systemConfig = systemConfig; } - - - /** - * @param username username - * @param password password - * @return boolean - */ - @Override - public boolean authUser(String username, String password) { - User user = userService.getUserByUserName(username); - return authUser(user, username, password); - } - @Override public boolean authUser(User user, String username, String password) { -- Gitblit v1.8.0