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
+25
View File
@@ -0,0 +1,25 @@
package exchlogmod
import (
"time"
"91jd-server/models/commod"
)
type ListReqParam struct {
Code *string `form:"code" json:"code"` // 兑换码
UserID *uint64 `form:"userID" json:"userID"` // 兑换者
Channel *string `form:"channel" json:"channel"` // 所属渠道
Authority *string `form:"authority" json:"authority"` // 兑换权限
Page commod.Page
}
type ListResp struct {
Code string `json:"code"` // 兑换码
UserID uint64 `json:"userID"` // 兑换者
Channel string `json:"channel"` // 所属渠道
Authority string `json:"authority"` // 兑换权限
Reward int `json:"reward"` // 奖励值
RewardCount int `json:"rewardCount"` // 奖励量
CreatedAt time.Time `json:"createdAt"` // 创建时间/兑换时间
}