Skip to content

Latest commit

 

History

History
 
 

vaptcha-solon-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Vaptcha for solon

Author noear,iYarnFog

✨ 特性

  • 🌈 注解式验证,无侵入性。
  • 📦 开箱即用的高质量组件。

📦 安装

<dependency>
    <groupId>org.noear</groupId>
    <artifactId>vaptcha-solon-plugin</artifactId>
</dependency>

前端适配教程请参考 Vaptcha 官网

⚙️ 配置

vaptcha:
  vid: xxx
  key: xxx
  # 是否本地调试?本地调试会自动注入真实IP,127.0.0.1这样的无法通过验证
  local: true

🔨 示例

import org.noear.solon.extend.vaptcha.http.request.validators.Vaptcha;

public class Request {
    @Vaptcha
    iVaptcha vaptcha;
}