refactor: replace redis runtime and queues with sqlite-backed scheduler

This commit is contained in:
alphago9
2026-03-29 17:26:36 +08:00
parent d6e7927605
commit fc8d58024e
22 changed files with 1193 additions and 446 deletions
+2 -4
View File
@@ -5,14 +5,12 @@ const (
TokenStatusDisable = 2
)
// WalletAddress 钱包表
type WalletAddress struct {
Token string `gorm:"index:wallet_address_token_index;column:token" json:"token"` // 钱包token
Status int64 `gorm:"column:status;default:1" json:"status"` // 1:启用 2:禁用
Token string `gorm:"column:token;uniqueIndex:wallet_address_token_uindex" json:"token"`
Status int64 `gorm:"column:status;default:1" json:"status"`
BaseModel
}
// TableName sets the insert table name for this struct type
func (w *WalletAddress) TableName() string {
return "wallet_address"
}