gift_req.go 331 Bytes
package handler

type GiftReq struct {
	GiftCode     string `json:"gift_code" binding:"required"`
	User         string `json:"user_id" binding:"required"`
	GameID       string `json:"game_id" binding:"required"`
	ChannelName  string `json:"channel" binding:"omitempty"`
	PlatformName string `json:"platform" binding:"omitempty"`
}