From 2704e921c80baf212e74ddbf75a87c47e8a2679e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期日, 04 七月 2021 19:18:06 +0800 Subject: [PATCH] update 增加 feign 熔断 自定义结构体解析方法 与 demo 注释 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/CaptchaProperties.java | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/CaptchaProperties.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/CaptchaProperties.java index 24356bc..86ac706 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/CaptchaProperties.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/CaptchaProperties.java @@ -13,12 +13,29 @@ @Component @ConfigurationProperties(prefix = "captcha") public class CaptchaProperties { - // 楠岃瘉鐮佺被鍨� + + /** + * 楠岃瘉鐮佸紑鍏� + */ + private Boolean enabled; + + /** + * 楠岃瘉鐮佺被鍨� + */ private String type; - // 楠岃瘉鐮佺被鍒� + + /** + * 楠岃瘉鐮佺被鍒� + */ private String category; - // 鏁板瓧楠岃瘉鐮佷綅鏁� + + /** + * 鏁板瓧楠岃瘉鐮佷綅鏁� + */ private Integer numberLength; - // 瀛楃楠岃瘉鐮侀暱搴� + + /** + * 瀛楃楠岃瘉鐮侀暱搴� + */ private Integer charLength; } -- Gitblit v1.9.3