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

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

@ -25,7 +25,7 @@ type RewardTypesColumns struct {
Description string // 奖励类型描述
Source string // 来源1=系统默认2=门店自定义
StoreId string // 门店ID系统默认类型为NULL
Status string // 状态1=正常,0=禁用
Status string // 状态1=正常,2=禁用
CreatedAt string // 创建时间
UpdatedAt string // 更新时间
DeletedAt string // 软删除时间戳

View File

@ -27,7 +27,7 @@ type RewardsColumns struct {
Source string // 来源1=系统内置2=门店自定义
StoreId string // 门店ID系统内置奖励为NULL
Value string // 奖励值(如积分数额、优惠金额)
Status string // 状态1=正常,0=禁用
Status string // 状态1=正常,2=禁用
CreatedAt string // 创建时间
UpdatedAt string // 更新时间
DeletedAt string // 软删除时间戳

View File

@ -23,7 +23,7 @@ type UserTasksColumns struct {
Id string // 用户任务唯一标识符
UserId string // 用户ID
TaskId string // 任务ID
Status string // 任务状态1=已领取2=进行中,3=已完成4=已取消
Status string // 任务状态1=进行中,2=已完成3=未完成
SerialNumber string // 流水号,确保用户任务唯一性
CreatedAt string // 创建时间
UpdatedAt string // 更新时间