01 2023 档案
摘要:@EnableAsync //开启异步注解 ~@Async 配套 @EnableScheduling //开启定时功能的注解 ~@Scheduled 配套 @SpringBootApplication public class Springboot09TestApplication { public
阅读全文
摘要:1.依赖 <!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <d
阅读全文
摘要:1.依赖 <!--shiro--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.8.0</version> </dependency> <!--sh
阅读全文
摘要:1.thymeleaf依赖 <!-- thymeleaf --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dep
阅读全文