[feat] 新增 ResApiCaptcha 类型
This commit is contained in:
parent
98dd6217f4
commit
45a1e3fa5a
12
base/res_api_captcha.go
Normal file
12
base/res_api_captcha.go
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
package base
|
||||||
|
|
||||||
|
type ResApiCaptcha struct {
|
||||||
|
Uuid string `db:"uuid"`
|
||||||
|
Category int64 `db:"category"` // 验证码类型
|
||||||
|
ResApiUuid string `db:"resource_api_uuid"` // 接口UUID
|
||||||
|
Interval int64 `db:"interval"` // 间隔时间
|
||||||
|
Exp int64 `db:"exp"` // 超时时间
|
||||||
|
Extra map[string]any `db:"extra"` // 扩展配置
|
||||||
|
UpdatedAt string `db:"updated_at"`
|
||||||
|
CreatedAt string `db:"created_at"`
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user