client.active.draw.log.go 1.3 KB

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