client.active.draw.log.go 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package models
  2. type ClientDrawLogRequest struct {
  3. ClientOpenID string `json:"client_open_id"` //
  4. PageSize int `json:"page_size"`
  5. PageIndex int `json:"page_index"`
  6. }
  7. type ClientDrawLogReply struct {
  8. DrawProductName string `json:"draw_product_name"` //奖品名称
  9. IsPrize int `json:"is_prize"` //1-未中奖 2-未兑奖 3-已兑奖
  10. Id int64 `json:"id"` //id
  11. }
  12. type DrawLogVerificationCodeRequest struct {
  13. DrawLogId int64 `json:"draw_log_id"`
  14. OpenId string `json:"open_id"`
  15. }
  16. type DrawLogVerificationCodeReply struct {
  17. DrawLogId int64 `json:"draw_log_id"`
  18. Key string `json:"key"`
  19. }
  20. type DrawCancelRequest struct {
  21. DrawLogId int64 `json:"draw_log_id"`
  22. Key string `json:"key"`
  23. }
  24. type DrawCancelInfoRequest struct {
  25. DrawLogId int64 `json:"draw_log_id"`
  26. Key string `json:"key"`
  27. }
  28. // 返回
  29. type DrawCancelInfoReply struct {
  30. ActiveConfigName string `json:"active_config_name"` //配置名称
  31. DrawProductName string `json:"draw_product_name"` //奖品名称
  32. DrawUrl string `json:"draw_url"` //图片URL
  33. DrawLogId int64 `json:"draw_log_id"` //抽奖id
  34. DrawTime string `json:"draw_time"` //中奖时间
  35. }