package com.changfa;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebFlux;
/**
 *@description minio文件启动类
 *@author wwz
 *@date 2023/1/8 10:12
 */
@SpringBootApplication
@MapperScan("com.changfa.mapper")
@EnableKnife4j
@EnableSwagger2WebFlux
@ComponentScan(basePackages = {"com.changfa"})
@EnableTransactionManagement
@RefreshScope
@Slf4j
public class MinioFileApplication {

    public static void main(String[] args){
        SpringApplication.run(MinioFileApplication.class);
        log.info("==================minio服务启动成功=======================");
    }
}
