[feat] 调整验证码
This commit is contained in:
parent
fc966787b4
commit
f84734be84
@ -8,6 +8,6 @@ import (
|
||||
|
||||
type Captcha interface {
|
||||
HttpMiddleware(container *do.Injector) func(next http.Handler) http.Handler
|
||||
Verify(id, answer string, clear bool) error
|
||||
Generate(captchaUuid string) (id, answer string)
|
||||
Verify(answer, salt string, clear bool) error
|
||||
Generate(captchaUuid string, u User) (answer, salt string)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user