添加注释

pull/2/head
dark 2021-03-21 22:52:42 +08:00
parent 00bcb50ba9
commit 76d91ac7db
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,11 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
/**
* BizTracer Bean
*
* @author mashu
*/
@Configuration @Configuration
@ConditionalOnClass({BizTracingAop.class}) @ConditionalOnClass({BizTracingAop.class})
@EnableConfigurationProperties(BizTracerProperties.class) @EnableConfigurationProperties(BizTracerProperties.class)

View File

@ -3,6 +3,11 @@ package cn.iocoder.dashboard.framework.tracer.config;
import lombok.Data; import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* BizTracer
*
* @author
*/
@ConfigurationProperties("yudao.tracer") @ConfigurationProperties("yudao.tracer")
@Data @Data
public class BizTracerProperties { public class BizTracerProperties {