package com.codingapi.tm; import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig; import org.springframework.boot.SpringApplication; import org.springframework.cloud.client.SpringCloudApplication; //@SpringBootApplication //@EnableDiscoveryClient @SpringCloudApplication @EnableApolloConfig({"tx", "msg"}) public class TxManagerApplication { public static void main(String[] args) { SpringApplication.run(TxManagerApplication.class, args); } }