调整任务查询,回调,奖励类型查询

This commit is contained in:
chy
2025-07-02 09:52:40 +08:00
parent 05510d53d2
commit 75d6c8cbfd
19 changed files with 295 additions and 104 deletions

View File

@ -29,6 +29,7 @@ type RewardTypesColumns struct {
UpdatedAt string // 更新时间
DeletedAt string // 软删除时间
TencentTypeId string // 腾讯类型 id
Source string // 来源1系统 2门店
}
// rewardTypesColumns holds the columns for the table reward_types.
@ -41,6 +42,7 @@ var rewardTypesColumns = RewardTypesColumns{
UpdatedAt: "updated_at",
DeletedAt: "deleted_at",
TencentTypeId: "tencent_type_id",
Source: "source",
}
// NewRewardTypesDao creates and returns a new DAO object for table data access.

View File

@ -33,6 +33,7 @@ type UserTasksColumns struct {
StoreId string // 门店 id
TaskName string // 任务名称
GameId string // 游戏 id
TaskType string // 1: 每日任务 3: 周期任务
}
// userTasksColumns holds the columns for the table user_tasks.
@ -49,6 +50,7 @@ var userTasksColumns = UserTasksColumns{
StoreId: "store_id",
TaskName: "task_name",
GameId: "game_id",
TaskType: "task_type",
}
// NewUserTasksDao creates and returns a new DAO object for table data access.