摘要:**一、引入依赖** ``` org.springframework.boot spring-boot-starter-web org.projectlombok lombok 1.18.24 org.springframework.boot spring-boot-starter-websocke
阅读全文
摘要:一、启动类开启task注解 //springTask定时任务开启 @EnableScheduling @SpringBootApplication @MapperScan("com.zhenghe.mapper") public class ZhengheApplication { public s
阅读全文
摘要:一、引入相关依赖 <!--spring security依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dep
阅读全文
摘要:一、引入依赖 <!-- 引入redis依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency
阅读全文
摘要:一、引入相关依赖 <dependencies> <!--springboot web依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifact
阅读全文
摘要:###一、创建一个springboot工程,引入相关依赖 <dependencies> <!-- springboot web 依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot
阅读全文