package com.ho.filecenter;

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;

/**
 * @author fancl
 * @desc: 文件中心启动类
 * @date 2022/11/7
 */
@SpringBootApplication(scanBasePackages = {"com.ho.common.tools" ,"com.ho.filecenter"})
@EnableDiscoveryClient
@MapperScan(basePackages = "com.ho.filecenter.mapper")
@EnableFeignClients(basePackages = {"com.ho.filecenter.feignclient"})
public class FileCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(FileCenterApplication.class, args);
    }

}
