克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Captcha

JDK release version

简介

项目集成字符验证码、运算验证码、滑动验证码
代码简洁、注释完备、易于上手,适合所有开发者集成

功能

  • 字符验证码
  • 运算验证码
  • 滑动验证码

快速访问

  1. 快速访问: http://localhost:8080/captcha/index
  2. 字符验证码: http://localhost:8080/captcha/index?type=char
  3. 运算验证码: http://localhost:8080/captcha/index?type=operation
  4. 滑动验证码: http://localhost:8080/captcha/index?type=slide

使用说明

字符验证码、滑动验证码、滑动验证码有工具类使用;同时,字符验证码、滑动验证码集成了google的kaptcha验证码

  • 字符验证码:
    默认使用kaptcha验证码。开箱即用,不需要任何配置就可以访问
  • 运算验证码:
    默认使用kaptcha验证码。开箱即用,已经将运算器类配置好。如果需要更改和自定义运算方法请移步:
    config.selfimpr.captcha -> config -> CaptchaConfig -> getKaptchaBeanMath()
  • 滑动验证码:
    需要将自己的验证码图片配置到application.yml文件路径中。相关的验证码图片和模板在以下位置: 项目中resources -> static -> targets和templates目录

##许可证 license

##预览图 预览图1 预览图2 预览图3 预览图4 预览图5

MIT License Copyright (c) 2019 selfimpr Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个好用开源验证码项目,项目包括字符验证码、运算验证码及滑动验证码功能的集成 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化