public interface CaptchaService
| 限定符和类型 | 方法和说明 |
|---|---|
String |
captchaType()
验证码类型
通过java SPI机制,接入方可自定义实现类,实现新的验证类型
|
ResponseModel |
check(CaptchaVO captchaVO)
核对验证码(前端)
|
ResponseModel |
get(CaptchaVO captchaVO)
获取验证码
|
void |
init(Properties config)
配置初始化
|
ResponseModel |
verification(CaptchaVO captchaVO)
二次校验验证码(后端)
|
void init(Properties config)
ExceptionResponseModel get(CaptchaVO captchaVO)
captchaVO - ResponseModel check(CaptchaVO captchaVO)
captchaVO - ResponseModel verification(CaptchaVO captchaVO)
captchaVO - String captchaType()
Copyright © 2021. All rights reserved.