pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaConfig.java
File was renamed from pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/config/KaptchaConfig.java @@ -1,4 +1,4 @@ package com.dy.pipIrrGlobal.config; package com.dy.pipIrrApp.config; import com.google.code.kaptcha.impl.DefaultKaptcha; import com.google.code.kaptcha.util.Config; @@ -9,15 +9,13 @@ /** * @author ZhuBaoMin * @date 2024-09-10 11:17 * @LastEditTime 2024-09-10 11:17 * @Description Google验证码配置类,配置三种类型的验证码生成器:简单文本验证码、一位数加减乘除验证码、两位数加减乘除验证码 * @date 2024-09-11 15:52 * @LastEditTime 2024-09-11 15:52 * @Description */ @Configuration public class KaptchaConfig { private static KaptchaConfig instance; /** * 验证码配置默认配置 * @return pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaMathOneTextCreator.java
File was renamed from pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/config/KaptchaMathOneTextCreator.java @@ -1,6 +1,6 @@ package com.dy.pipIrrGlobal.config; package com.dy.pipIrrApp.config; import com.dy.pipIrrGlobal.util.CaptchaUtil; import com.dy.pipIrrApp.util.CaptchaUtil; import com.google.code.kaptcha.text.impl.DefaultTextCreator; import java.security.SecureRandom; @@ -9,9 +9,9 @@ /** * @author ZhuBaoMin * @date 2024-09-10 10:38 * @LastEditTime 2024-09-10 10:38 * @Description 验证码随机文本生成器:一位数的加减乘除 * @date 2024-09-11 15:51 * @LastEditTime 2024-09-11 15:51 * @Description */ public class KaptchaMathOneTextCreator extends DefaultTextCreator { pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/config/KaptchaMathTwoTextCreator.java
File was renamed from pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/config/KaptchaMathTwoTextCreator.java @@ -1,6 +1,6 @@ package com.dy.pipIrrGlobal.config; package com.dy.pipIrrApp.config; import com.dy.pipIrrGlobal.util.CaptchaUtil; import com.dy.pipIrrApp.util.CaptchaUtil; import com.google.code.kaptcha.text.impl.DefaultTextCreator; import java.security.SecureRandom; @@ -9,9 +9,9 @@ /** * @author ZhuBaoMin * @date 2024-09-10 10:39 * @LastEditTime 2024-09-10 10:39 * @Description 验证码随机文本生成器:两位数的加减乘除 * @date 2024-09-11 15:51 * @LastEditTime 2024-09-11 15:51 * @Description */ public class KaptchaMathTwoTextCreator extends DefaultTextCreator { pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/util/CaptchaUtil.java
File was renamed from pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/util/CaptchaUtil.java @@ -1,4 +1,4 @@ package com.dy.pipIrrGlobal.util; package com.dy.pipIrrApp.util; import java.security.SecureRandom; import java.util.HashMap; @@ -7,9 +7,9 @@ /** * @author ZhuBaoMin * @date 2024-09-10 10:32 * @LastEditTime 2024-09-10 10:32 * @Description 自定义验证码工具类 * @date 2024-09-11 15:48 * @LastEditTime 2024-09-11 15:48 * @Description */ public class CaptchaUtil {