package com.keao.edu; import com.spring4all.swagger.EnableSwagger2Doc; import org.mybatis.spring.annotation.MapperScan; 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.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableAsync; /** * Hello world! * */ @SpringBootApplication @EnableDiscoveryClient @EnableFeignClients({"com.keao.edu"}) @MapperScan({"com.keao.edu.user.dao", "com.keao.edu.common.dao"}) @Configuration @EnableSwagger2Doc @EnableAsync public class TeacherApplication { public static void main(String[] args) { SpringApplication.run(TeacherApplication.class, args); } }