@@ -0,0 +1,42 @@
|
||||
package wdchannmod
|
||||
|
||||
import "91porn-server/models/v/wdtaxmod"
|
||||
|
||||
// ChannelReq 新增提现渠道
|
||||
type ChannelReq struct {
|
||||
ChannelName string `form:"channelName" json:"channelName"` //支付渠道名字
|
||||
CID string `form:"cid" json:"cid"` //渠道id
|
||||
PayType string `form:"payType" json:"payType"` //支付方式
|
||||
MinMoney int `form:"minMoney" json:"minMoney"` //支持最小支付金额
|
||||
QpMinMoney int `form:"qpMinMoney" json:"qpMinMoney"` //支持棋牌最小支付金额
|
||||
MaxMoney int `form:"maxMoney" json:"maxMoney"` //支持最大支付金额
|
||||
Weight int `form:"weight" json:"weight"` //权重
|
||||
}
|
||||
|
||||
// WithdrawChannelSelector 提现配置修改
|
||||
type WithdrawChannelSelector struct {
|
||||
ChannelName *string `json:"channelName,omitempty" bson:"channelName,omitempty"` //提现渠道名字
|
||||
CID *string `json:"cid,omitempty" bson:"cid,omitempty"` //渠道id
|
||||
PayType *string `json:"payType,omitempty" bson:"payType,omitempty"` //支付方式
|
||||
MinMoney *int `json:"minMoney,omitempty" bson:"minMoney,omitempty"` //支持最小支付金额
|
||||
QpMinMoney *int `json:"qpMinMoney,omitempty" bson:"qpMinMoney,omitempty"` //支持棋牌最小支付金额
|
||||
QpMaxMoney *int `json:"qpMaxMoney,omitempty" bson:"qpMaxMoney,omitempty"` //支持棋牌最大支付金额
|
||||
MaxMoney *int `json:"maxMoney,omitempty" bson:"maxMoney,omitempty"` //支持最大支付金额
|
||||
Weight *int `json:"weight,omitempty" bson:"weight,omitempty"` //权重
|
||||
Active *bool `json:"active,omitempty" bson:"active,omitempty"` //是否激活
|
||||
}
|
||||
|
||||
type WithdrawChannelRes struct {
|
||||
WithdrawChannel
|
||||
wdtaxmod.WithdrawTariff
|
||||
}
|
||||
|
||||
// DelReq 删除请求
|
||||
type DelReq struct {
|
||||
IDs []string `form:"ids" json:"ids"`
|
||||
}
|
||||
|
||||
// OpeResp 操作应答
|
||||
type OpeResp struct {
|
||||
Count int64 `json:"count"`
|
||||
}
|
||||
Reference in New Issue
Block a user