37 lines
1.1 KiB
Java
37 lines
1.1 KiB
Java
package com.whdc;
|
|
|
|
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.beans.BeansException;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.cache.annotation.EnableCaching;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
|
|
|
/**
|
|
* @author 李赛
|
|
* @date 2022-06-26 0:17
|
|
*/
|
|
@Slf4j
|
|
@EnableWebMvc
|
|
@EnableKnife4j
|
|
@EnableCaching
|
|
@EnableScheduling
|
|
@SpringBootApplication
|
|
@MapperScan("com.whdc.mapper")
|
|
public class FxkhTxlApiApplication {
|
|
|
|
public static void main(String[] args) {
|
|
try {
|
|
SpringApplication.run(FxkhTxlApiApplication.class, args);
|
|
|
|
System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>> 启动完成 <<<<<<<<<<<<<<<<<<<<<<<<<<<");
|
|
} catch (BeansException e) {
|
|
e.printStackTrace();
|
|
log.error(e.getMessage(), e);
|
|
}
|
|
}
|
|
}
|