You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package game
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
|
|
)
|
|
|
|
|
|
|
|
type CheckRebateReq struct {
|
|
|
|
g.Meta `path:"/checkRebate" tags:"rebate" method:"get" summary:"充值返还"`
|
|
|
|
Account string `p:"account"`
|
|
|
|
Channel string `p:"channel"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckRebateRes struct {
|
|
|
|
g.Meta `mime:"application/json"`
|
|
|
|
Code int `json:"code"`
|
|
|
|
Amount int `json:"amount"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetRechargeValueReq struct {
|
|
|
|
g.Meta `path:"/rebate/getRechargeValue" tags:"rebate" method:"get" summary:"充值返还"`
|
|
|
|
Account string `p:"account"`
|
|
|
|
Channel string `p:"channel"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetRechargeValueRes struct {
|
|
|
|
g.Meta `mime:"application/json"`
|
|
|
|
Amount int `json:"amount"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckFirstRebateReq struct {
|
|
|
|
g.Meta `path:"/checkFirstRebate" tags:"外部接口" method:"get" summary:"获取服务器配置"`
|
|
|
|
ServerId int `p:"server"`
|
|
|
|
Id int64 `p:"id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckFirstRebateRes struct {
|
|
|
|
g.Meta `mime:"application/json"`
|
|
|
|
Amount int `json:"Amount" description:""`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckSecondRebateReq struct {
|
|
|
|
g.Meta `path:"/checkSecondRebate" tags:"外部接口" method:"get" summary:"获取服务器配置"`
|
|
|
|
ServerId int `p:"server"`
|
|
|
|
Id int64 `p:"id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CheckSecondRebateRes struct {
|
|
|
|
g.Meta `mime:"application/json"`
|
|
|
|
Amount int `json:"Amount" description:""`
|
|
|
|
}
|