123456789101112131415161718192021222324252627 |
- 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.ComponentScan;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.scheduling.annotation.EnableAsync;
- @SpringBootApplication
- @EnableDiscoveryClient
- @EnableFeignClients({"com.keao.edu"})
- @MapperScan({"com.keao.edu.user.dao", "com.keao.edu.common.dao"})
- @ComponentScan(basePackages="com.keao.edu")
- @Configuration
- @EnableSwagger2Doc
- @EnableAsync
- public class StudentServerApplication{
- public static void main(String[] args) {
- SpringApplication.run(StudentServerApplication.class, args);
- }
- }
|