升级依赖,集成aj-captcha-go方便二开

This commit is contained in:
xiangheng
2024-02-25 22:01:41 +08:00
parent 0957f6c958
commit df43e4e7dd
21 changed files with 1490 additions and 50 deletions

View File

@@ -0,0 +1,13 @@
package service
type CaptchaInterface interface {
// Get 获取验证码
Get() (map[string]interface{}, error)
// Check 核对验证码
Check(token string, pointJson string) error
// Verification 二次校验验证码(后端)
Verification(token string, pointJson string) error
}