springboot整合websocket

摘要: **一、引入依赖** ``` org.springframework.boot spring-boot-starter-web org.projectlombok lombok 1.18.24 org.springframework.boot spring-boot-starter-websocke 阅读全文
posted @ 2023-05-27 19:14 全他吗被取了 阅读(151) 评论(0) 推荐(0)

springboot整合springTask

摘要: 一、启动类开启task注解 //springTask定时任务开启 @EnableScheduling @SpringBootApplication @MapperScan("com.zhenghe.mapper") public class ZhengheApplication { public s 阅读全文
posted @ 2023-05-06 22:53 全他吗被取了 阅读(39) 评论(0) 推荐(0)

springboot整合security+jwt

摘要: 一、引入相关依赖 <!--spring security依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dep 阅读全文
posted @ 2023-05-06 20:29 全他吗被取了 阅读(271) 评论(0) 推荐(0)

springboot整合redis做简单缓存

摘要: 一、引入依赖 <!-- 引入redis依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency 阅读全文
posted @ 2023-05-06 05:04 全他吗被取了 阅读(108) 评论(0) 推荐(0)

springboot整合mybatis

摘要: 一、引入相关依赖 <dependencies> <!--springboot web依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifact 阅读全文
posted @ 2023-05-06 03:59 全他吗被取了 阅读(36) 评论(0) 推荐(0)

springboot整合mybatis-plus-generator

摘要: ###一、创建一个springboot工程,引入相关依赖 <dependencies> <!-- springboot web 依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot 阅读全文
posted @ 2022-02-25 20:46 全他吗被取了 阅读(203) 评论(0) 推荐(0)