[feat] 验证码添加验证次数限制

This commit is contained in:
what 2024-02-01 20:21:27 +08:00
parent 88097d181a
commit c6f99dce1c

View File

@ -7,6 +7,7 @@ type ResApiCaptcha struct {
Interval int64 `db:"interval"` // 间隔时间
Exp int64 `db:"exp"` // 超时时间
Extra map[string]any `db:"extra"` // 扩展配置
Limit int64 `db:"limit"` // 验证次数
UpdatedAt string `db:"updated_at"`
CreatedAt string `db:"created_at"`
}