From 83d69ba507b5116f182e85b06a1ef8f26b96f1ce Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 18 十二月 2021 22:59:55 +0800 Subject: [PATCH] add [重磅更新] 增加 jdbc 批处理参数 大幅提升批量操作性能 对原生语句与 MP 均有效 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/CaptchaProperties.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 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 cf9ad8b..354d8c3 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 @@ -1,5 +1,7 @@ package com.ruoyi.framework.config.properties; +import com.ruoyi.common.enums.CaptchaCategory; +import com.ruoyi.common.enums.CaptchaType; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @@ -17,12 +19,12 @@ /** * 楠岃瘉鐮佺被鍨� */ - private String type; + private CaptchaType type; /** * 楠岃瘉鐮佺被鍒� */ - private String category; + private CaptchaCategory category; /** * 鏁板瓧楠岃瘉鐮佷綅鏁� -- Gitblit v1.9.3