随笔分类 - 框架学习
为以后的面试和工作做准备
摘要:JWT 登录认证 导入 jwt 依赖 <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.1</version> </dependency> 写个 jwt 工具类 pub
阅读全文
摘要:跳表的java实现 节点的定义 /** * 跳表节点定义 */ @Data @AllArgsConstructor public class SkipNode<T> { int key; T val; SkipNode next, down; public SkipNode(int key, T v
阅读全文
摘要:Spring-boot整合Redis 导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency>
阅读全文
摘要:AOP 切面 1.导依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> 定义一个切面类 @Aspect @
阅读全文
摘要:Spring-boot学习笔记 从零开始创建项目 先创建一个空的Maven项目,然后在pom.xml引入Spring-boot-starter的父依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-bo
阅读全文