实现了门店奖励的增删改查

This commit is contained in:
2025-06-17 18:11:27 +08:00
parent 427e70f94e
commit e21353df23
23 changed files with 659 additions and 42 deletions

View File

@ -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 // 软删除时间戳

View File

@ -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 // 软删除时间戳

View File

@ -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 // 更新时间