[feat] 调整验证码

This commit is contained in:
what 2024-01-29 22:35:05 +08:00
parent 8549266703
commit cbd80e752f

View File

@ -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)
}