实现任务绑定奖励的接口

This commit is contained in:
2025-06-24 21:36:58 +08:00
parent 4c367bd9ca
commit 8cd9477f3d
9 changed files with 156 additions and 2 deletions

View File

@ -0,0 +1,16 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// TaskRewards is the golang structure of table task_rewards for DAO operations like Where/Data.
type TaskRewards struct {
g.Meta `orm:"table:task_rewards, do:true"`
TaskId interface{} // 任务ID
RewardId interface{} // 奖励ID
}

View File

@ -0,0 +1,11 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// TaskRewards is the golang structure for table task_rewards.
type TaskRewards struct {
TaskId int64 `json:"taskId" orm:"task_id" description:"任务ID"` // 任务ID
RewardId int64 `json:"rewardId" orm:"reward_id" description:"奖励ID"` // 奖励ID
}