[feat] 验证码添加验证次数限制
This commit is contained in:
parent
88097d181a
commit
c6f99dce1c
@ -7,6 +7,7 @@ type ResApiCaptcha struct {
|
|||||||
Interval int64 `db:"interval"` // 间隔时间
|
Interval int64 `db:"interval"` // 间隔时间
|
||||||
Exp int64 `db:"exp"` // 超时时间
|
Exp int64 `db:"exp"` // 超时时间
|
||||||
Extra map[string]any `db:"extra"` // 扩展配置
|
Extra map[string]any `db:"extra"` // 扩展配置
|
||||||
|
Limit int64 `db:"limit"` // 验证次数
|
||||||
UpdatedAt string `db:"updated_at"`
|
UpdatedAt string `db:"updated_at"`
|
||||||
CreatedAt string `db:"created_at"`
|
CreatedAt string `db:"created_at"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user