37 lines
1001 B
Go
37 lines
1001 B
Go
package proto
|
|
|
|
import (
|
|
"91porn-server/common/daichong"
|
|
"91porn-server/models/v/rchgamtmod"
|
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
type CurryenyResp struct {
|
|
//代充
|
|
daichong.Chat `json:"daichong"`
|
|
//
|
|
List []*CurrencyListResponse `json:"list"`
|
|
}
|
|
|
|
type CurrencyListResponse struct {
|
|
//表id
|
|
ID primitive.ObjectID `bson:"_id,omitempty" json:"id"`
|
|
//货币数量
|
|
Amount int64 `json:"amount" bson:"amount" binding:"required"`
|
|
//货币价格
|
|
Money int64 `json:"money" bson:"money"`
|
|
//优惠描述
|
|
CouponDesc string `json:"couponDesc" bson:"couponDesc"`
|
|
//赠送vip天数
|
|
GiveVipDays int `json:"giveVipDays" bson:"giveVipDays"`
|
|
//赠送楼凤解锁次数
|
|
LouFengUnlockTimes int `json:"louFengUnlockTimes" bson:"louFengUnlockTimes"`
|
|
//类型名称
|
|
TypeName string `json:"typeName" bson:"typeName" binding:"required"`
|
|
//充值方式
|
|
RechargeType []rchgamtmod.PayChannelRes `json:"rchgType" bson:"rchgType"`
|
|
//赠送金币
|
|
GiveGold int64 `json:"giveGold" bson:"giveGold"`
|
|
}
|