调整任务存储,任务查询
This commit is contained in:
@ -11,20 +11,14 @@ import (
|
||||
|
||||
// Tasks is the golang structure of table tasks for DAO operations like Where/Data.
|
||||
type Tasks struct {
|
||||
g.Meta `orm:"table:tasks, do:true"`
|
||||
Id interface{} // 任务唯一标识符
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
GameId interface{} // 游戏唯一id
|
||||
StoreId interface{} // 门店 id
|
||||
Status interface{} // 1:启用 2:禁用
|
||||
QqNetbarTaskId interface{} // QQ网吧任务ID
|
||||
QqNetbarTaskRules interface{} // 任务规则
|
||||
QqNetbarTaskMemo interface{} // 任务描述
|
||||
QqNetbarTaskName interface{} // QQ网吧任务名称
|
||||
QqNetbarReward interface{} // qq 网吧奖励名称
|
||||
QqNetbarTargetTime interface{} // qq 网吧任务指标
|
||||
StartTime interface{} // 任务开始时间
|
||||
EndTime interface{} // 任务结束时间
|
||||
g.Meta `orm:"table:tasks, do:true"`
|
||||
Id interface{} // 任务唯一标识符
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
GameId interface{} // 游戏唯一id
|
||||
StoreId interface{} // 门店 id
|
||||
NetbarAcconut interface{} // 网关
|
||||
TaskId interface{} // 任务 id
|
||||
Task interface{} // 任务
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@ type UserTasks struct {
|
||||
Id interface{} // 用户任务唯一标识符
|
||||
UserId interface{} // 用户ID
|
||||
TaskId interface{} // 腾讯任务ID
|
||||
Status interface{} // 任务状态:1=进行中,2=已完成中,3=未完成
|
||||
Status interface{} // 任务状态:1=进行中,2=已完成,3=待领取奖励
|
||||
SerialNumber interface{} // 流水号,确保用户任务唯一性
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
|
||||
Reference in New Issue
Block a user