mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-25 03:48:35 +08:00
update 移除自定义注解 改为框架统一配置
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.ruoyi.common.core.config;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
|
||||
/**
|
||||
* 程序注解配置
|
||||
*
|
||||
* @author Lion Li
|
||||
*/
|
||||
@Configuration
|
||||
// 表示通过aop框架暴露该代理对象,AopContext能够访问
|
||||
@EnableAspectJAutoProxy(exposeProxy = true)
|
||||
public class ApplicationConfig {
|
||||
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
com.ruoyi.common.core.utils.SpringUtils,\
|
||||
com.ruoyi.common.core.config.ApplicationConfig,\
|
||||
com.ruoyi.common.core.config.JacksonConfig,\
|
||||
com.ruoyi.common.core.config.ValidatorConfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user