随笔分类 - java
摘要:记录一下使用springSecurity搭建用户认证和授权的代码、、、 技术栈使用springSecurity + redis + JWT + mybatisPlus 部分代码来自:https://blog.csdn.net/I_am_Hutengfei/article/details/100561
阅读全文
摘要:@GetMapping(value = "/find") public String findfile(String filePath, String fileNames, HttpServletResponse response) { initFtpClient(); FtpUtils f = n
阅读全文
摘要:线程池 1.工具类实现 /** * @title: ThreadUtil * @Author bao * @description * @Date: 2021/12/2216:07 */public class ThreadUtil { private static volatile Executo
阅读全文
摘要:springboot整合ehcache 工具类实现缓存 1. jar包导入 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId></dep
阅读全文