package com.npf.pagedemo; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cache.annotation.EnableCaching; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import springfox.documentation.swagger2.annotations.EnableSwagger2; //启动入口标识 @SpringBootApplication //自动装配 @EnableAutoConfiguration //事物支持 @EnableTransactionManagement //数据访问层扫描 @MapperScan("com.npf.pagedemo.dao") //缓存支持 @EnableCaching //计划表支持 @EnableScheduling //在线api @EnableSwagger2 public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }
最近下载更多
最近浏览更多
漫步的海星 LV4
2023年9月26日
飞呀飞呀飞不放 LV7
2023年8月8日
hbsoft2008 LV16
2023年2月17日
二锅头 LV11
2023年2月16日
wcy071213 LV27
2023年2月13日
5212991314
2022年10月26日
暂无贡献等级
谢谢谢谢谢谢你 LV6
2022年7月19日
楚天霸 LV1
2022年6月29日
1234mama LV19
2022年3月22日
wang512237140 LV20
2021年12月21日