Commit 9230979a by QIANGLU

添加自启动标示

parent c801b752
package com.secoo.mall.config.configuration;
import com.ctrip.framework.apollo.spring.annotation.ApolloConfigRegistrar;
import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
/**
......@@ -8,5 +10,7 @@ import org.springframework.context.annotation.Configuration;
*/
@Configuration
@EnableApolloConfig
@ConditionalOnClass(ApolloConfigRegistrar.class)
public class ApolloAutoConfiguration {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment