mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-10 02:20:15 +08:00
升级依赖,集成aj-captcha-go方便二开
This commit is contained in:
13
server/util/aj-captcha-go/service/captcha_interface.go
Normal file
13
server/util/aj-captcha-go/service/captcha_interface.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user