实现了门店奖励的增删改查
This commit is contained in:
@ -17,7 +17,7 @@ type RewardTypes struct {
|
||||
Description interface{} // 奖励类型描述
|
||||
Source interface{} // 来源:1=系统默认,2=门店自定义
|
||||
StoreId interface{} // 门店ID,系统默认类型为NULL
|
||||
Status interface{} // 状态:1=正常,0=禁用
|
||||
Status interface{} // 状态:1=正常,2=禁用
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
|
||||
@ -19,7 +19,7 @@ type Rewards struct {
|
||||
Source interface{} // 来源:1=系统内置,2=门店自定义
|
||||
StoreId interface{} // 门店ID,系统内置奖励为NULL
|
||||
Value interface{} // 奖励值(如积分数额、优惠金额)
|
||||
Status interface{} // 状态:1=正常,0=禁用
|
||||
Status interface{} // 状态:1=正常,2=禁用
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
|
||||
@ -15,7 +15,7 @@ type UserTasks struct {
|
||||
Id interface{} // 用户任务唯一标识符
|
||||
UserId interface{} // 用户ID
|
||||
TaskId interface{} // 任务ID
|
||||
Status interface{} // 任务状态:1=已领取,2=进行中,3=已完成,4=已取消
|
||||
Status interface{} // 任务状态:1=进行中,2=已完成中,3=未完成
|
||||
SerialNumber interface{} // 流水号,确保用户任务唯一性
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
|
||||
Reference in New Issue
Block a user