02 2023 档案

摘要:配置starter,当前boot版本2.5.3 1、引入依赖pom.xml: <!-- redis --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-red 阅读全文
posted @ 2023-02-27 19:47 此时不卷何时卷 阅读(18) 评论(0) 推荐(0) 编辑
摘要:创建SecurityConfig类,加上@Configuration注解 添加授权方法: /** * 访问路径授权 * * @param http * @return * @throws Exception */@Beanpublic SecurityFilterChain filterChain( 阅读全文
posted @ 2023-02-26 16:33 此时不卷何时卷 阅读(19) 评论(0) 推荐(0) 编辑
摘要:1、windows版redis下载:https://github.com/ServiceStack/redis-windows/tree/master/downloads 2、安装服务 dos窗口切换到解压目录 解压目录执行:redis-server --service-install redis. 阅读全文
posted @ 2023-02-10 22:00 此时不卷何时卷 阅读(27) 评论(0) 推荐(0) 编辑
摘要:1、nginx-service.exe 文件 https://repo.jenkins-ci.org/releases/com/sun/winsw/winsw 下载服务封装软件 nginx-service.exe由winsw重命名而来 2、nginx-service.exe.config文件 需要有 阅读全文
posted @ 2023-02-10 17:48 此时不卷何时卷 阅读(490) 评论(0) 推荐(0) 编辑
摘要:动态代理方法: import org.springframework.util.CollectionUtils;import org.springframework.util.StringUtils;import java.lang.reflect.InvocationHandler;import 阅读全文
posted @ 2023-02-08 23:19 此时不卷何时卷 阅读(31) 评论(0) 推荐(0) 编辑
摘要:import java.util.HashMap;import java.util.Map;import java.util.Properties;/** * @author Administrator */public class PropertiesUtils { public static M 阅读全文
posted @ 2023-02-08 22:32 此时不卷何时卷 阅读(31) 评论(0) 推荐(0) 编辑

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