[feat] 调整验证码

This commit is contained in:
what 2024-01-30 17:48:30 +08:00
parent 50f103ab0c
commit a79b4c33a6

View File

@ -2,6 +2,6 @@ package contracts
type Captcha interface {
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)
}