印度包网
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.
 
 
 

203 lines
3.7 KiB

package values
import "server/common"
// InviteReward 邀请奖励
// BetReward 下注奖励
// Invites 邀请玩家数
// InvalidInvites 有效邀请玩家数
// TotalReward 总奖励
// AvailableReward 可领取奖励
// InviteRecharge 有效邀请充值额度
// BetPer 下注返利比例
// ShareLink 分享链接
type ShareInfoResp struct {
InviteReward int64
BetReward int64
Invites int
InvalidInvites int
TotalReward int64
AvailableReward int64
InviteRecharge int64
BetPer []string
ShareLink string
RechargeCount int64
TotalRecharge int64
PlatformInviteReward int64
PlatformBetReward int64
PlatformTotalReward int64
Rank []*OneShareRank
}
type SharePlatformResp struct {
InviteReward int64
BetReward int64
TotalReward int64
Rank []*OneShareRank
}
type OneShareRank struct {
UID int
Nick string
Avatar string
Reward int64
}
// Opt 1转到余额 2直接赠送
// PayAccount opt为2时必填
type ShareWithdrawReq struct {
Opt int `json:"Opt" binding:"required"`
Amount int64 `json:"Amount" binding:"required"`
// 可能对应多种结构
PayAccount map[string]interface{} `json:"PayAccount"`
}
// Available 可用余额
type ShareWithdrawResp struct {
Available int64
}
// Today 今天
// Total 总数
// Rewards 佣金数据
// ShareLink 分享链接
// type ShareInfoResp struct {
// Today ShareRecord
// Total ShareRecord
// Rewards RewardRecord
// ShareLink string
// ShareConfig []*common.ConfigShare
// }
// Regist 注册数
// Real 有效玩家数
// Bet 有效投注
// Reward 佣金
type ShareRecord struct {
Regist int64
Real int64
Bet int64
Reward int64
}
// Level 等级
// TotalWithdraw 总支付
// Available 可用余额
// WithdrawLimit 最低限额
type RewardRecord struct {
Level int
TotalWithdraw int64
Available int64
WithdrawLimit int64
}
type ShareReferenceReq struct {
Start int64
End int64
Page int
Num int
}
// TotalBet 团队有效总投注
// TotalReward 总佣金
type ShareReferenceResp struct {
List []common.ESShareProfitRecord
TotalBet int64
TotalReward int64
}
type ShareReportReq struct {
Start int64
End int64
Page int
Num int
}
type ShareReportResp struct {
List []common.ESShareProfitReport
}
type ShareTransferReq struct {
Start int64
End int64
Page int
Num int
}
type ShareTransferResp struct {
List []common.ShareOrder
}
// Spin 剩余旋转次数
// Amount 当前数额
// Expire 过期倒计时,单位秒
// items 转盘物品
// WithdrawAmount 达到条件额度
// NewPddShare 是否有新邀请
type ActivityPddInfoResp struct {
Spin int
Amount int64
Expire int64
Items []OnePddSpinItem
WithdrawAmount int64
ShareLink string
NewPddShare bool
}
// ID 物品序号
// Type 物品类型 1直接补齐差额 2固定金额 3随机金额
// Amount 物品数量
// Sort 排序
type OnePddSpinItem struct {
ID int
Type int
Amount int64
Sort int
}
// ID 转中的物品id
// Amount 获得的物品数量
type ActivityPddSpinResp struct {
ID int
Amount int64
}
// NewCount 新邀请人数
// NewSpinCount 新获得的旋转次数
// SpinLeft 剩余次数
type ActivityPddNewReferenceResp struct {
NewCount int
NewSpinCount int
SpinLeft int
List []OnePddRecord
}
type ActivityPddReferenceReq struct {
Page int
Num int
}
type ActivityPddReferenceResp struct {
List []OnePddRecord
}
type OnePddRecord struct {
UID int // 被分享人
Time int64
Nick string
Avatar string
SpinCount int
}
type ActivityPddWithdrawResp struct {
ExpireTime int64
}
type GetActivityCodeReq struct {
ActivityId int
}
type GetActivityCodeResp struct {
ShareLink string
}