@@ -0,0 +1,25 @@
|
||||
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"` // 创建时间/兑换时间
|
||||
}
|
||||
Reference in New Issue
Block a user