[feat] 调整验证码
This commit is contained in:
parent
50f103ab0c
commit
a79b4c33a6
@ -2,6 +2,6 @@ package contracts
|
|||||||
|
|
||||||
type Captcha interface {
|
type Captcha interface {
|
||||||
RouteMiddleware
|
RouteMiddleware
|
||||||
Verify(id int64, answer string, clear bool) error
|
Verify(answer string, clear bool) error
|
||||||
Generate(captchaUuid, recipient, ip string, u User) (body string, id int64, err error)
|
Generate(captchaUuid, recipient, ip string, u User) (body string, id int64, err error)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user