package com.bosshand.virgo.api; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.context.annotation.ComponentScan; import org.springframework.transaction.annotation.EnableTransactionManagement; @EnableFeignClients @SpringBootApplication //@EnableEurekaClient @EnableTransactionManagement @MapperScan("com.bosshand.virgo.core.dao,com.bosshand.virgo.api.dao") @ComponentScan(basePackages = {"com.bosshand"}) public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }