随笔分类 -  框架学习

为以后的面试和工作做准备
摘要:JWT 登录认证 导入 jwt 依赖 <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.1</version> </dependency> 写个 jwt 工具类 pub 阅读全文
posted @ 2024-06-21 15:18 Liang2003 阅读(5) 评论(0) 推荐(0) 编辑
摘要:跳表的java实现 节点的定义 /** * 跳表节点定义 */ @Data @AllArgsConstructor public class SkipNode<T> { int key; T val; SkipNode next, down; public SkipNode(int key, T v 阅读全文
posted @ 2024-05-28 15:54 Liang2003 阅读(40) 评论(0) 推荐(0) 编辑
摘要:Spring-boot整合Redis 导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 阅读全文
posted @ 2024-03-16 15:19 Liang2003 阅读(163) 评论(0) 推荐(0) 编辑
摘要:AOP 切面 1.导依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> 定义一个切面类 @Aspect @ 阅读全文
posted @ 2024-03-08 19:21 Liang2003 阅读(10) 评论(0) 推荐(0) 编辑
摘要:Spring-boot学习笔记 从零开始创建项目 先创建一个空的Maven项目,然后在pom.xml引入Spring-boot-starter的父依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-bo 阅读全文
posted @ 2024-03-01 20:52 Liang2003 阅读(6) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示