package com.yxt.messagecenter; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.scheduling.annotation.EnableScheduling; @EnableDiscoveryClient @SpringBootApplication(scanBasePackages = { "com.yxt.common.base.config", "com.yxt.messagecenter" }) @EnableScheduling @EnableFeignClients(basePackages = {"com.yxt.anrui.portal", "com.yxt.anrui.crm","com.yxt.anrui.flowable"}) public class MessageCenterApplication { public static void main( String[] args ) { SpringApplication.run(MessageCenterApplication.class, args); } }