摘要: 1:JWT Token在线解析解码 - ToolTT在线工具箱 2: 3: 阅读全文
posted @ 2023-02-13 18:21 wode林夕 阅读(1783) 评论(0) 推荐(0) 编辑
摘要: 今天遇到这样一个问题,在整合jwt 配置拦截器的时候,遇到这样一个问题: public class JWTInterceptor implements HandlerInterceptor { @Autowired User user; //null } 解决方法: 错误之前: @Configura 阅读全文
posted @ 2023-02-13 17:59 wode林夕 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 解决方法: import org.apache.commons.lang.StringUtils; <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3 阅读全文
posted @ 2023-02-13 14:37 wode林夕 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1:添加依赖 <!-- redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2 阅读全文
posted @ 2023-02-13 14:16 wode林夕 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 遇到前端跨域访问问题,类似于这样的: 解决方法 1: @Configuration @SuppressWarnings("all") public class CrosConfig { private CorsConfiguration buildConfig() { CorsConfigurati 阅读全文
posted @ 2023-02-13 14:07 wode林夕 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1:Portainer简介 Portainer是一个docker可视化管理工具,可以非常方便地管理docker镜像容器。官网地址:https://www.portainer.io/ 安装: 首先拉取portainer镜像 docker pull portainer/portainer 然后创建并启动 阅读全文
posted @ 2023-02-13 13:58 wode林夕 阅读(41) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 版本为2.7.6 1:首先引入mybatis 依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <ver 阅读全文
posted @ 2023-02-13 11:40 wode林夕 阅读(18) 评论(0) 推荐(0) 编辑