蛋蛋星球-客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

md_advertising.go 2.0 KiB

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