Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

29 lines
674 B
Go

package rchgamtmod
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"` //价格
Active bool `form:"active" json:"active"` //是否激活
UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt"`
}
// EditGoldReq 金币编辑请求
type EditGoldReq struct {
ID string `form:"id" json:"id"`
GoldReq
}