integrated_traffic/src/main/java/com/zcloud/FHmainApplication.java

26 lines
825 B
Java
Raw Normal View History

2024-01-03 09:48:43 +08:00
package com.zcloud;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
*
* luoxiaobao
* www.qdkjchina.com
*/
@SpringBootApplication//去除冲突
@MapperScan("com.zcloud.mapper")
@EnableCaching
@EnableScheduling // 2.开启定时任务
public class FHmainApplication {
public static void main(String[] args) {
SpringApplication.run(FHmainApplication.class, args);
}
}