随笔 - 239  文章 - 0  评论 - 29  阅读 - 69万

随笔分类 -  webflux

自定义注解使用在AOP切面编程里
摘要:自定义注解: @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface RedisDistributeLock { String key(); int leastLockMs() defau 阅读全文
posted @ 2022-12-17 20:44 梦幻朵颜 阅读(62) 评论(0) 推荐(0) 编辑
spring webflux项目集成后台管理系统的用户登录,支持用户session
摘要:配置pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta 阅读全文
posted @ 2022-12-17 20:09 梦幻朵颜 阅读(638) 评论(0) 推荐(0) 编辑
spring webflux项目启动类
摘要:import lombok.extern.slf4j.Slf4j; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplicati 阅读全文
posted @ 2022-12-17 19:50 梦幻朵颜 阅读(117) 评论(0) 推荐(0) 编辑
在springboot项目里配置ReactiveRedisTemplate
摘要:配置pom.xml: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis-reactive</artifactId> </dependency> <de 阅读全文
posted @ 2022-12-17 19:43 梦幻朵颜 阅读(1814) 评论(0) 推荐(0) 编辑
springboot项目打包成war包部署到外部的tomcat
摘要:先在pom.xml文件里引入webflux依赖包: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId> </dependency> 阅读全文
posted @ 2022-12-17 19:17 梦幻朵颜 阅读(239) 评论(0) 推荐(0) 编辑


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