package com.ho.td;

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.scheduling.annotation.EnableAsync;

/**
 * @author fancl
 * @description: tdengin操作程序入口
 * @date 2022/8/9
 */
@SpringBootApplication(scanBasePackages = {"com.ho.common.tools","com.ho.td"})
@EnableDiscoveryClient
@EnableFeignClients
@EnableAsync //开启异步
@MapperScan(basePackages = {"com.ho.td.mapper"})
public class TdApplication {
    public static void main(String[] args) {
        SpringApplication.run(TdApplication.class, args);
    }
}
