Commit 71a5acc1 by QIANGLU

add config

parent 58a8b81d
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,6 @@ 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