调整回调,奖励领取--(测试领奖-1)
This commit is contained in:
@ -21,4 +21,5 @@ type RewardCallback struct {
|
||||
Num interface{} // 奖励个数,默认 1,比如经验值 10
|
||||
CustomInfo interface{} // 透传字段 (json串)
|
||||
AppId interface{} // 业务 id(标识业务方,由游戏人生提供)
|
||||
InnerOrderId interface{} // 系统内部订单ID
|
||||
}
|
||||
|
||||
@ -16,4 +16,5 @@ type RewardCallback struct {
|
||||
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
|
||||
}
|
||||
|
||||
@ -182,9 +182,12 @@ type GetRewardIn struct {
|
||||
UserId int
|
||||
}
|
||||
type GetRewardOut struct {
|
||||
List interface{} `json:"list"`
|
||||
List []GetRewardNewOut `json:"list"`
|
||||
}
|
||||
|
||||
type GetRewardNewOut struct {
|
||||
Result int64 `json:"result"`
|
||||
Water Water `json:"water"`
|
||||
Water interface{} `json:"water"`
|
||||
}
|
||||
|
||||
type Water struct {
|
||||
|
||||
Reference in New Issue
Block a user