File was renamed from pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/config/KaptchaConfig.java |
| | |
| | | package com.dy.pipIrrGlobal.config; |
| | | package com.dy.pipIrrApp.config; |
| | | |
| | | import com.google.code.kaptcha.impl.DefaultKaptcha; |
| | | import com.google.code.kaptcha.util.Config; |
| | |
| | | |
| | | /** |
| | | * @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 |