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.
43 lines
939 B
43 lines
939 B
|
1 year ago
|
package values
|
||
|
|
|
||
|
|
import "server/common"
|
||
|
|
|
||
|
|
// Page 页码
|
||
|
|
// Num 一页的数目
|
||
|
|
// Start 开始时间戳
|
||
|
|
// End 结束时间戳
|
||
|
|
// Status 订单状态 1待审核,2打款中,3已完成,4打款失败,5玩家撤回,6拒绝打款
|
||
|
|
type ShareOrderListReq struct {
|
||
|
|
Page uint `json:"Page" binding:"required"`
|
||
|
|
Num uint `json:"Num" binding:"required"`
|
||
|
|
Start string `json:"Start"`
|
||
|
|
End string `json:"End"`
|
||
|
|
Status *int `json:"Status"`
|
||
|
|
Channel int `json:"Channel"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type ShareOrderListResp struct {
|
||
|
|
List []common.ShareOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
type ShareOrderExamineReq struct {
|
||
|
|
OrderID string `json:"OrderID" binding:"required"`
|
||
|
|
Opt int `json:"Opt" binding:"required"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type OneShareData struct {
|
||
|
|
Level int
|
||
|
|
ShareCount int64
|
||
|
|
RechargeCount int64
|
||
|
|
ValidRechargeCount int64
|
||
|
|
TotalRecharge int64
|
||
|
|
}
|
||
|
|
|
||
|
|
type ShareDataResp struct {
|
||
|
|
List []OneShareData
|
||
|
|
}
|
||
|
|
|
||
|
|
type ShareDataReq struct {
|
||
|
|
UID int
|
||
|
|
}
|