client.active.draw.log.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. Url string `json:"url"` //
  11. Id int64 `json:"id"` //id
  12. DrawTime string `json:"draw_time"` //
  13. ActiveId int64 `json:"active_id"` //
  14. }
  15. type DrawLogVerificationCodeRequest struct {
  16. DrawLogId int64 `json:"draw_log_id"`
  17. OpenId string `json:"open_id"`
  18. }
  19. type DrawLogVerificationCodeReply struct {
  20. DrawLogId int64 `json:"draw_log_id"`
  21. Key string `json:"key"`
  22. }
  23. type DrawCancelRequest struct {
  24. DrawLogId int64 `json:"draw_log_id"`
  25. Key string `json:"key"`
  26. }
  27. type DrawCancelInfoRequest struct {
  28. DrawLogId int64 `json:"draw_log_id"`
  29. Key string `json:"key"`
  30. }
  31. // 返回
  32. type DrawCancelInfoReply struct {
  33. ActiveConfigName string `json:"active_config_name"` //配置名称
  34. DrawProductName string `json:"draw_product_name"` //奖品名称
  35. DrawUrl string `json:"draw_url"` //图片URL
  36. DrawLogId int64 `json:"draw_log_id"` //抽奖id
  37. DrawTime string `json:"draw_time"` //中奖时间
  38. }