1234567891011121314151617181920212223242526 |
- package com.steerinfo;
- import org.mybatis.spring.annotation.MapperScan;
- import org.springframework.boot.SpringApplication;
- import org.springframework.boot.autoconfigure.SpringBootApplication;
- import org.springframework.boot.web.servlet.ServletComponentScan;
- import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
- import org.springframework.cloud.openfeign.EnableFeignClients;
- import org.springframework.scheduling.annotation.EnableScheduling;
- /**
- * @Author zhangnan
- * @Date 2021/4/21 14:32
- * @Version 1.0
- */
- @SpringBootApplication
- @ServletComponentScan
- @EnableScheduling
- @MapperScan({"com.steerinfo.dil.mapper"})//定时器
- @EnableDiscoveryClient
- @EnableFeignClients(basePackages = "com.steerinfo.dil.feign")
- public class DilApplicationMain {
- public static void main(String[] args) {
- SpringApplication.run(DilApplicationMain.class,args);
- }
- }
|