蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

46 lines
2.1 KiB

  1. package md
  2. type AdvertisingReq struct {
  3. Id string `json:"id"`
  4. Ecpm string `json:"ecpm"`
  5. }
  6. type AdvertisingResp struct {
  7. Basic AdvertisingBasic `json:"basic" `
  8. Space []AdvertisingSpace `json:"space" `
  9. Function []AdvertisingFunction `json:"function" `
  10. Pop AdvertisingLimit `json:"pop" `
  11. }
  12. type AdvertisingBasic struct {
  13. Info map[string]interface{} `json:"info" `
  14. AndroidAdIsOpen string `json:"android_ad_is_open" example:"安卓广告是否开启(1:开启 0:不开启)"`
  15. IosAdIsOpen string `json:"ios_ad_is_open" example:"ios广告是否开启(1:开启 0:不开启)"`
  16. AndroidOpenAdIsOpen string `json:"android_open_ad_is_open" example:"安卓开屏广告是否开启(1:开启 0:不开启)"`
  17. IosOpenAdIsOpen string `json:"ios_open_ad_is_open" example:"ios开屏广告是否开启(1:开启 0:不开启)"`
  18. Voice string `json:"voice" example:"领取声音"`
  19. }
  20. type AdvertisingSpace struct {
  21. Id string `json:"id" example:"id"`
  22. Name string `json:"name" example:"名称"`
  23. Kind string `json:"kind" example:"广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)"`
  24. Info map[string]interface{} `json:"info" `
  25. CountingDown string `json:"counting_down" example:"倒计时 x秒"`
  26. }
  27. type AdvertisingCheck struct {
  28. IsCanVisit string `json:"is_can_visit"`
  29. }
  30. type AdvertisingState struct {
  31. IsSuccess string `json:"is_success"`
  32. Integral string `json:"integral"`
  33. }
  34. type AdvertisingFunction struct {
  35. Name string `json:"name" example:"名称"`
  36. Type string `json:"type" example:"位置"`
  37. AdId string `json:"ad_id" example:"广告id"`
  38. }
  39. type AdvertisingLimit struct {
  40. PublicImg string `json:"public_img" example:"公共弹窗图"`
  41. PublicStr string `json:"public_str" example:"公共弹窗文字"`
  42. WithdrawImg string `json:"withdraw_img" example:"提现弹窗图"`
  43. WithdrawStr string `json:"withdraw_str" example:"提现弹窗文字"`
  44. }