完成操作任务奖励的接口测试

This commit is contained in:
2025-06-25 10:34:34 +08:00
parent 8cd9477f3d
commit e992189705
30 changed files with 216 additions and 488 deletions

View File

@ -269,7 +269,7 @@ type GetGoodsDetailsRes struct {
}
type OperateTaskRewardReq struct {
g.Meta `path:"/reward/addTaskReward" method:"post" tags:"Reward" summary:"添加任务奖励"`
g.Meta `path:"/reward/taskReward" method:"post" tags:"Reward" summary:"添加任务奖励"`
Type int `json:"type" v:"required#操作类型只能为1或2,1是添加、2是删除" dc:"操作类型"`
TaskId int64 `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
RewardId int64 `json:"rewardId" v:"required#奖励id不能为空" dc:"奖励Id"`