init: hgmj server initial commit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 16:50:13 +08:00
co-authored by Claude Opus 4.7
commit 625e89c15d
1870 changed files with 254090 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
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
}