mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-11-04 09:01:40 +08:00 
			
		
		
		
	feat(captcha): 新增行为验证码自动配置
This commit is contained in:
		@@ -21,7 +21,7 @@ import cn.hutool.core.util.StrUtil;
 | 
			
		||||
import com.wf.captcha.base.Captcha;
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
import org.springframework.boot.context.properties.ConfigurationProperties;
 | 
			
		||||
import top.charles7c.continew.starter.captcha.graphic.enums.GraphicCaptchaTypeEnum;
 | 
			
		||||
import top.charles7c.continew.starter.captcha.graphic.enums.GraphicCaptchaType;
 | 
			
		||||
 | 
			
		||||
import java.awt.*;
 | 
			
		||||
 | 
			
		||||
@@ -43,7 +43,7 @@ public class GraphicCaptchaProperties {
 | 
			
		||||
    /**
 | 
			
		||||
     * 类型
 | 
			
		||||
     */
 | 
			
		||||
    private GraphicCaptchaTypeEnum type;
 | 
			
		||||
    private GraphicCaptchaType type;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 内容长度
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,7 @@ import lombok.RequiredArgsConstructor;
 | 
			
		||||
 */
 | 
			
		||||
@Getter
 | 
			
		||||
@RequiredArgsConstructor
 | 
			
		||||
public enum GraphicCaptchaTypeEnum {
 | 
			
		||||
public enum GraphicCaptchaType {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 算术
 | 
			
		||||
		Reference in New Issue
	
	Block a user