Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
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
}