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

26 lines
849 B
Go

package exchlogmod
import (
"time"
"91porn-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"` // 创建时间/兑换时间
}