From 45a1e3fa5ac11f589191b8bdc6b68b243169b66d Mon Sep 17 00:00:00 2001 From: what Date: Mon, 29 Jan 2024 15:14:08 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E6=96=B0=E5=A2=9E=20ResApiCaptcha=20?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/res_api_captcha.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 base/res_api_captcha.go diff --git a/base/res_api_captcha.go b/base/res_api_captcha.go new file mode 100644 index 0000000..6a18a89 --- /dev/null +++ b/base/res_api_captcha.go @@ -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"` +}