调整任务存储,任务查询

This commit is contained in:
chy
2025-07-01 09:57:16 +08:00
parent 09e9ebe8c3
commit 2791322a76
12 changed files with 81 additions and 84 deletions

View File

@ -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{} // 任务
}