associate_params.go 875 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package model
  2. // ArgBind bind args.
  3. type ArgBind struct {
  4. OpenID string
  5. OutOpenID string
  6. AppID int64
  7. }
  8. // ArgBindInfo bind info args.
  9. type ArgBindInfo struct {
  10. Mid int64
  11. AppID int64
  12. }
  13. // ArgThirdPrizeGrant prize grant args.
  14. type ArgThirdPrizeGrant struct {
  15. Mid int64 `form:"mid" validate:"required"`
  16. PrizeKey int64 `form:"prize_key"`
  17. UniqueNo string `form:"unique_no" validate:"required"`
  18. PrizeType int8 `form:"prize_type" validate:"required"`
  19. Appkey string `form:"appkey" validate:"required"`
  20. Remark string `form:"remark" validate:"required"`
  21. AppID int64
  22. }
  23. // ArgBilibiliPrizeGrant args.
  24. type ArgBilibiliPrizeGrant struct {
  25. PrizeKey string
  26. UniqueNo string
  27. OpenID string
  28. AppID int64
  29. }
  30. // BilibiliPrizeGrantResp resp.
  31. type BilibiliPrizeGrantResp struct {
  32. Amount float64
  33. FullAmount float64
  34. Description string
  35. }