蛋蛋星球-客户端
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.
 
 
 
 
 
 

38 lines
1.9 KiB

  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 AdvertisingFunction struct {
  27. Name string `json:"name" example:"名称"`
  28. Type string `json:"type" example:"位置"`
  29. AdId string `json:"ad_id" example:"广告id"`
  30. }
  31. type AdvertisingLimit struct {
  32. PublicImg string `json:"public_img" example:"公共弹窗图"`
  33. PublicStr string `json:"public_str" example:"公共弹窗文字"`
  34. WithdrawImg string `json:"withdraw_img" example:"提现弹窗图"`
  35. WithdrawStr string `json:"withdraw_str" example:"提现弹窗文字"`
  36. }