[feat] 调整验证码

This commit is contained in:
what 2024-01-30 09:47:03 +08:00
parent f84734be84
commit ef1d73c764

View File

@ -9,5 +9,5 @@ import (
type Captcha interface {
HttpMiddleware(container *do.Injector) func(next http.Handler) http.Handler
Verify(answer, salt string, clear bool) error
Generate(captchaUuid string, u User) (answer, salt string)
Generate(captchaUuid string, u User) (answer, salt string, err error)
}