@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user