fxkh-txl-service/src/main/java/com/whdc/FxkhTxlApiApplication.java

37 lines
1.1 KiB
Java
Raw Normal View History

2023-09-13 17:15:39 +08:00
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")
2024-05-13 10:07:53 +08:00
public class FxkhTxlApiApplication {
2023-09-13 17:15:39 +08:00
public static void main(String[] args) {
try {
2024-05-13 10:07:53 +08:00
SpringApplication.run(FxkhTxlApiApplication.class, args);
2023-09-13 17:15:39 +08:00
System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>> 启动完成 <<<<<<<<<<<<<<<<<<<<<<<<<<<");
} catch (BeansException e) {
e.printStackTrace();
log.error(e.getMessage(), e);
}
}
}