mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-03 11:05:58 +00:00
update 规范化 自动装配 注解使用
This commit is contained in:
@@ -4,7 +4,6 @@ import com.ruoyi.common.dubbo.enumd.RequestLogEnum;
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 自定义配置
|
||||
@@ -13,7 +12,6 @@ import org.springframework.stereotype.Component;
|
||||
*/
|
||||
@Data
|
||||
@RefreshScope
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "dubbo.custom")
|
||||
public class DubboCustomProperties {
|
||||
|
||||
|
Reference in New Issue
Block a user