1、本地配置
1)注解配置
@SpringBootApplication
@EnableScheduling
//@EnableTyphonConf(filenames = "application")
@Slf4j
@ServletComponentScan(basePackages = "cn.org.*.*.filter")
public class Application {
}
2)属性配置
META-INF/app.properties
app.id = APP_76016F104DD7423BB98D1E56B133CB29
apollo.autoUpdateInjectedSpringProperties=false
3)所需环境变量配置在application.yaml当中