20 lines
480 B
Go
20 lines
480 B
Go
package proxymod
|
|
|
|
// InvitationBindReq 推广绑定请求参数
|
|
type InvitationBindReq struct {
|
|
UID uint64 `form:"uid" json:"uid" bson:"uid"` //邀请用户id
|
|
PromoCode string `bson:"promotionCode" json:"promotionCode"` //邀请码
|
|
}
|
|
|
|
// UIDList uid切片类型结构体
|
|
type UIDList struct {
|
|
ID uint64 `bson:"_id"`
|
|
IDS []uint64 `bson:"ids"`
|
|
Total int64 `bson:"total"`
|
|
}
|
|
|
|
type InvitationRes struct {
|
|
IsBoughtVIP bool `json:"isBought"`
|
|
Invitation
|
|
}
|