2020
10-23
10-23
springboot整合kaptcha生成验证码功能
介绍:kaptcha是谷歌开源的非常实用的验证码生成工具一、导入jar包<!--kaptcha验证码--><dependency><groupId>com.github.penggle</groupId><artifactId>kaptcha</artifactId><version>2.3.2</version></dependency>二、编写kaptcha配置类packagecom.zym.config;importcom.google.code.kaptcha.impl.DefaultKaptcha;importcom.google.code.kaptcha.util.Config;importorg.springframework.context.annotation.Bean;impor...
继续阅读 >