This commit is contained in:
2026-09-21 15:03:52 +08:00
parent d597975b42
commit 369bbd43fd
31 changed files with 2480 additions and 769 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ type BindInfo struct {
ExpiryTime string `gorm:"column:expiry_time;type:char(11);comment:过期时间" json:"expiry_time"`
Status uint8 `gorm:"column:status;type:tinyint(1);default:1;comment:状态,1为正常,2为禁用" json:"status"`
BindTime utils.CustomTime `gorm:"column:bind_time;type:datetime;comment:绑定时间" json:"bind_time"`
UpdatedAt utils.CustomTime `gorm:"column:updated_at;type:timestamp;default:CURRENT_TIMESTAMP;NOT NULL" json:"updated_at"`
UpdatedTime utils.CustomTime `gorm:"column:updated_time;type:timestamp;default:CURRENT_TIMESTAMP;NOT NULL" json:"updated_time"`
}
type BindExpiry struct {