修改奖励配置新增过期类型和时间

This commit is contained in:
chy
2025-06-23 20:48:22 +08:00
parent 2c59949e87
commit 3166edc3dd
8 changed files with 94 additions and 26 deletions

View File

@ -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 时使用)
}