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;
|
2024-03-06 16:25:53 +08:00
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
2024-01-03 09:48:43 +08:00
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|