update 升级 springboot 2.7.2 重构使用最新自动配置方式

This commit is contained in:
疯狂的狮子li
2022-07-22 12:27:12 +08:00
parent 52826f9081
commit 03e1d25afb
51 changed files with 66 additions and 87 deletions

View File

@@ -15,7 +15,7 @@ import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.http.HttpMethod;
import org.springframework.validation.BindingResult;
import org.springframework.web.multipart.MultipartFile;
@@ -32,7 +32,7 @@ import java.util.Map;
*/
@Slf4j
@Aspect
@Configuration(proxyBeanMethods = false)
@AutoConfiguration
public class LogAspect {
@Autowired

View File

@@ -1,3 +0,0 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.ruoyi.common.log.service.AsyncLogService,\
com.ruoyi.common.log.aspect.LogAspect

View File

@@ -0,0 +1,2 @@
com.ruoyi.common.log.service.AsyncLogService
com.ruoyi.common.log.aspect.LogAspect