feat: 互动处理

This commit is contained in:
Blizzard
2026-03-05 16:54:25 +08:00
parent 74b252550b
commit 2583b5f302
30 changed files with 412 additions and 119 deletions
+18
View File
@@ -0,0 +1,18 @@
package radio
import (
"sundynix-go/global"
"time"
)
type Vip struct {
global.BaseModel
Price int `gorm:"default:0;comment:价格,单位,分 " json:"price"` //vip价格 单位:分
DiscountedPrice int `gorm:"default:0;comment:优惠价格,单位,分 " json:"discountedPrice"` // 优惠价格 单位:分
ExpiredAt time.Time `gorm:"index;column:expired_at" json:"expiredAt"` //过期时间
Remark string `gorm:"column:remark" json:"remark"` //备注
}
func (Vip) TableName() string {
return "sundynix_radio_vip_config"
}