摘要:
###一、switchIfEmpty 在讨论登录流程之前,先看下Spring Web Flux中的`switchIfEmpty`用法。 @Test public void test1() { Mono.just("test1") .flatMap(val -> { return Mono.just( 阅读全文
posted @ 2023-06-07 22:44
shigp1
阅读(510)
评论(1)
推荐(0)
摘要:
Kaptcha是谷歌开源的可高度配置的实用验证码生成工具。 ###一、验证码配置 加入依赖: com.github.penggle kaptcha 2.3.2 生成验证码配置: @Configuration public class KaptchaConfig { //DefaultKaptcha是 阅读全文
posted @ 2023-06-07 20:32
shigp1
阅读(1045)
评论(0)
推荐(0)

浙公网安备 33010602011771号