修改奖励领取,新增奖励物品详情查询
This commit is contained in:
24
internal/model/do/reward_waters.go
Normal file
24
internal/model/do/reward_waters.go
Normal file
@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RewardWaters is the golang structure of table reward_waters for DAO operations like Where/Data.
|
||||
type RewardWaters struct {
|
||||
g.Meta `orm:"table:reward_waters, do:true"`
|
||||
Id interface{} //
|
||||
OrderId interface{} // 订单号
|
||||
Uid interface{} // 用户账号
|
||||
TaskId interface{} // 任务 id
|
||||
Water interface{} // 兑换流水
|
||||
Status interface{} // 兑换状态 1:奖励发放成功 2:奖励兑换失败(礼包发放背包环节成功,需重新引导领奖) 3:针对只需要发背包,然后引导用户到人生应用背包领奖的奖励类型,发奖成功了 4:water错误(一般是 orderid),不做兑换操作
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedAt *gtime.Time //
|
||||
DeletedAt *gtime.Time //
|
||||
}
|
||||
22
internal/model/entity/reward_waters.go
Normal file
22
internal/model/entity/reward_waters.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RewardWaters is the golang structure for table reward_waters.
|
||||
type RewardWaters struct {
|
||||
Id int64 `json:"id" orm:"id" description:""` //
|
||||
OrderId string `json:"orderId" orm:"order_id" description:"订单号"` // 订单号
|
||||
Uid string `json:"uid" orm:"uid" description:"用户账号"` // 用户账号
|
||||
TaskId string `json:"taskId" orm:"task_id" description:"任务 id"` // 任务 id
|
||||
Water string `json:"water" orm:"water" description:"兑换流水"` // 兑换流水
|
||||
Status int64 `json:"status" orm:"status" description:"兑换状态 1:奖励发放成功 2:奖励兑换失败(礼包发放背包环节成功,需重新引导领奖) 3:针对只需要发背包,然后引导用户到人生应用背包领奖的奖励类型,发奖成功了 4:water错误(一般是 orderid),不做兑换操作"` // 兑换状态 1:奖励发放成功 2:奖励兑换失败(礼包发放背包环节成功,需重新引导领奖) 3:针对只需要发背包,然后引导用户到人生应用背包领奖的奖励类型,发奖成功了 4:water错误(一般是 orderid),不做兑换操作
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""` //
|
||||
}
|
||||
@ -100,6 +100,20 @@ type RewardCallbackIn struct {
|
||||
TaskId string
|
||||
}
|
||||
|
||||
type GetRewardIn struct {
|
||||
AreaId int
|
||||
GameId int
|
||||
RewradTypeId []int
|
||||
RoleIdx string
|
||||
TaskId string
|
||||
PopenId string
|
||||
}
|
||||
type GetRewardOut struct {
|
||||
List interface{} `json:"list"`
|
||||
Result int64 `json:"result"`
|
||||
Water Water `json:"water"`
|
||||
}
|
||||
|
||||
type Water struct {
|
||||
}
|
||||
|
||||
|
||||
15
internal/model/rewardWater.go
Normal file
15
internal/model/rewardWater.go
Normal file
@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/os/gtime"
|
||||
|
||||
type RewardWaters struct {
|
||||
Id int64 `json:"id" orm:"id" description:""` //
|
||||
OrderId string `json:"orderId" orm:"order_id" description:"订单号"` // 订单号
|
||||
Uid string `json:"uid" orm:"uid" description:"用户账号"` // 用户账号
|
||||
TaskId string `json:"taskId" orm:"task_id" description:"任务 id"` // 任务 id
|
||||
Water string `json:"water" orm:"water" description:"兑换流水"` // 兑换流水
|
||||
Status int64 `json:"status" orm:"status" description:"兑换状态 1:奖励发放成功 2:奖励兑换失败(礼包发放背包环节成功,需重新引导领奖) 3:针对只需要发背包,然后引导用户到人生应用背包领奖的奖励类型,发奖成功了 4:water错误(一般是 orderid),不做兑换操作"` // 兑换状态 1:奖励发放成功 2:奖励兑换失败(礼包发放背包环节成功,需重新引导领奖) 3:针对只需要发背包,然后引导用户到人生应用背包领奖的奖励类型,发奖成功了 4:water错误(一般是 orderid),不做兑换操作
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""` //
|
||||
}
|
||||
Reference in New Issue
Block a user