34 lines
1.3 KiB
Go
34 lines
1.3 KiB
Go
package rchgamegoldmod
|
|
|
|
import "time"
|
|
|
|
// DelReq 删除请求
|
|
type DelReq struct {
|
|
IDs []string `form:"ids" json:"ids"`
|
|
}
|
|
|
|
// OpeResp 操作应答
|
|
type OpeResp struct {
|
|
Count int64 `json:"count"`
|
|
}
|
|
|
|
// GoldReq 金币配置添加
|
|
type GoldReq struct {
|
|
Name string `form:"name" json:"name"` //金币名称
|
|
Coins int64 `form:"coins" json:"coins"` //购买金币数
|
|
Price int64 `form:"price" json:"price"` //价格
|
|
CouponDesc string `form:"couponDesc" json:"couponDesc"` //优惠描述
|
|
GiveVipDays int `form:"giveVipDays" json:"giveVipDays"` //赠送vip天数
|
|
LouFengUnlockTimes int `form:"louFengUnlockTimes" json:"louFengUnlockTimes"` //赠送楼凤解锁次数
|
|
GiveGameCoin int64 `form:"giveGameCoin" json:"giveGameCoin"` //赠送游戏金币
|
|
NotFirst bool `form:"notFirst" json:"notFirst"` //非首充依然赠送
|
|
Active bool `form:"active" json:"active"` //是否激活
|
|
UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt"`
|
|
}
|
|
|
|
// EditGoldReq 金币编辑请求
|
|
type EditGoldReq struct {
|
|
ID string `form:"id" json:"id"`
|
|
GoldReq
|
|
}
|