修改奖励配置新增过期类型和时间
This commit is contained in:
@ -25,4 +25,8 @@ type Rewards struct {
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
TotalNum interface{} // 奖励总数量,NULL表示不限量
|
||||
UsedNum interface{} // 已使用数量
|
||||
ExpireType interface{} // 过期类型:1=时间段过期,2=领取后多少天过期
|
||||
ValidFrom *gtime.Time // 有效开始时间(expire_type=1 时使用)
|
||||
ValidTo *gtime.Time // 有效结束时间(expire_type=1 时使用)
|
||||
ExpireDays interface{} // 领取后多少天过期(expire_type=2 时使用)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user