调整绑定手机号
This commit is contained in:
@ -6,6 +6,7 @@ package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RewardCallback is the golang structure of table reward_callback for DAO operations like Where/Data.
|
||||
@ -22,4 +23,7 @@ type RewardCallback struct {
|
||||
CustomInfo interface{} // 透传字段 (json串)
|
||||
AppId interface{} // 业务 id(标识业务方,由游戏人生提供)
|
||||
InnerOrderId interface{} // 系统内部订单ID
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedAt *gtime.Time //
|
||||
DeletedAt *gtime.Time //
|
||||
}
|
||||
|
||||
@ -26,5 +26,5 @@ type UserTasks struct {
|
||||
GameId interface{} // 游戏 id
|
||||
TaskType interface{} // 1: 每日任务 3: 周期任务
|
||||
UserTimes interface{} // 用户完成次数
|
||||
BindType interface{} // 当前账号类型
|
||||
BindType interface{} // 1:qq 2:wx
|
||||
}
|
||||
|
||||
@ -4,17 +4,24 @@
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RewardCallback is the golang structure for table reward_callback.
|
||||
type RewardCallback struct {
|
||||
Id int64 `json:"id" orm:"id" description:""` //
|
||||
Uid string `json:"uid" orm:"uid" description:"用户账号"` // 用户账号
|
||||
OrderId string `json:"orderId" orm:"order_id" description:"订单号必须保证全局唯一(保证接口幂等)"` // 订单号必须保证全局唯一(保证接口幂等)
|
||||
PrizeChannelId string `json:"prizeChannelId" orm:"prize_channel_id" description:"券渠道 ID"` // 券渠道 ID
|
||||
PrizeId string `json:"prizeId" orm:"prize_id" description:"券 ID"` // 券 ID
|
||||
PrizeType int `json:"prizeType" orm:"prize_type" description:"奖励类型,1 网鱼积分,2 网鱼经验值,3 网鱼兑换码"` // 奖励类型,1 网鱼积分,2 网鱼经验值,3 网鱼兑换码
|
||||
PrizeSubType int `json:"prizeSubType" orm:"prize_sub_type" description:"奖励子类型,默认为 0,有多种子类型时可用,如 1,5 元网费充值券,2、满 30-5 满减券等"` // 奖励子类型,默认为 0,有多种子类型时可用,如 1,5 元网费充值券,2、满 30-5 满减券等
|
||||
Num int `json:"num" orm:"num" description:"奖励个数,默认 1,比如经验值 10"` // 奖励个数,默认 1,比如经验值 10
|
||||
CustomInfo string `json:"customInfo" orm:"custom_info" description:"透传字段 (json串)"` // 透传字段 (json串)
|
||||
AppId string `json:"appId" orm:"app_id" description:"业务 id(标识业务方,由游戏人生提供)"` // 业务 id(标识业务方,由游戏人生提供)
|
||||
InnerOrderId string `json:"innerOrderId" orm:"inner_order_id" description:"系统内部订单ID"` // 系统内部订单ID
|
||||
Id int64 `json:"id" orm:"id" description:""` //
|
||||
Uid string `json:"uid" orm:"uid" description:"用户账号"` // 用户账号
|
||||
OrderId string `json:"orderId" orm:"order_id" description:"订单号必须保证全局唯一(保证接口幂等)"` // 订单号必须保证全局唯一(保证接口幂等)
|
||||
PrizeChannelId string `json:"prizeChannelId" orm:"prize_channel_id" description:"券渠道 ID"` // 券渠道 ID
|
||||
PrizeId string `json:"prizeId" orm:"prize_id" description:"券 ID"` // 券 ID
|
||||
PrizeType int `json:"prizeType" orm:"prize_type" description:"奖励类型,1 网鱼积分,2 网鱼经验值,3 网鱼兑换码"` // 奖励类型,1 网鱼积分,2 网鱼经验值,3 网鱼兑换码
|
||||
PrizeSubType int `json:"prizeSubType" orm:"prize_sub_type" description:"奖励子类型,默认为 0,有多种子类型时可用,如 1,5 元网费充值券,2、满 30-5 满减券等"` // 奖励子类型,默认为 0,有多种子类型时可用,如 1,5 元网费充值券,2、满 30-5 满减券等
|
||||
Num int `json:"num" orm:"num" description:"奖励个数,默认 1,比如经验值 10"` // 奖励个数,默认 1,比如经验值 10
|
||||
CustomInfo string `json:"customInfo" orm:"custom_info" description:"透传字段 (json串)"` // 透传字段 (json串)
|
||||
AppId string `json:"appId" orm:"app_id" description:"业务 id(标识业务方,由游戏人生提供)"` // 业务 id(标识业务方,由游戏人生提供)
|
||||
InnerOrderId string `json:"innerOrderId" orm:"inner_order_id" description:"系统内部订单ID"` // 系统内部订单ID
|
||||
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:""` //
|
||||
}
|
||||
|
||||
@ -24,5 +24,5 @@ type UserTasks struct {
|
||||
GameId int64 `json:"gameId" orm:"game_id" description:"游戏 id"` // 游戏 id
|
||||
TaskType int64 `json:"taskType" orm:"task_type" description:"1: 每日任务 3: 周期任务"` // 1: 每日任务 3: 周期任务
|
||||
UserTimes int64 `json:"userTimes" orm:"user_times" description:"用户完成次数"` // 用户完成次数
|
||||
BindType int `json:"bindType" orm:"bind_type" description:"当前账号类型"` // 当前账号类型
|
||||
BindType int `json:"bindType" orm:"bind_type" description:"1:qq 2:wx"` // 1:qq 2:wx
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user