LogApplication.java 728 Bytes
package com.uccc.log;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * @author :bert
 * @date :2021-09-09 09:59.
 */
@SpringBootApplication
@EnableAsync
@MapperScan("com.uccc.log.mapper")
@ComponentScan({"com.uccc.log"})
public class LogApplication extends WebMvcConfigurerAdapter {
    public static void main(String[] args) {
        SpringApplication.run(LogApplication.class,args);
    }
}