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