蛋蛋星球 后台端
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

71 satır
3.3 KiB

  1. package md
  2. type AdvertisingBase struct {
  3. AndroidAdIsOpen string `json:"android_ad_is_open" example:"安卓广告是否开启(1:开启 0:不开启)"`
  4. IosAdIsOpen string `json:"ios_ad_is_open" example:"ios广告是否开启(1:开启 0:不开启)"`
  5. AndroidOpenAdIsOpen string `json:"android_open_ad_is_open" example:"安卓开屏广告是否开启(1:开启 0:不开启)"`
  6. IosOpenAdIsOpen string `json:"ios_open_ad_is_open" example:"ios开屏广告是否开启(1:开启 0:不开启)"`
  7. Voice string `json:"voice" example:"领取奖励声音"`
  8. VoiceUrl string `json:"voice_url"`
  9. Info string `json:"info" example:"广告商配置 {\"chuanshanjia\":{\"android_app_key\":\"\"}}"`
  10. }
  11. type AdvertisingBaseResp struct {
  12. SelectData []map[string]string `json:"select_data"`
  13. AdvertisingBase AdvertisingBase `json:"advertising_base"`
  14. }
  15. type AdvertisingListReq struct {
  16. Page string `json:"page"`
  17. Limit string `json:"limit"`
  18. Name string `json:"name"`
  19. Kind string `json:"kind"`
  20. }
  21. type AdvertisingListResp struct {
  22. SelectData []map[string]string `json:"select_data"`
  23. Total int64 `json:"total"`
  24. List []AdvertisingList `json:"list"`
  25. }
  26. type AdvertisingList struct {
  27. Id string `json:"id" `
  28. Name string `json:"name" example:"名称"`
  29. Kind string `json:"kind" example:"广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告 5:全屏视频)"`
  30. Info string `json:"info" example:"广告位配置 {\"chuanshanjia\":{\"android_ad_id\":[\"\"],\"ios_ad_id\":[\"\"]}}"`
  31. CountingDown string `json:"counting_down" example:"倒计时 单位秒"`
  32. }
  33. type AdvertisingDelReq struct {
  34. Id []string `json:"id"`
  35. }
  36. type AdvertisingSaveReq struct {
  37. Id string `json:"id"`
  38. Name string `json:"name" example:"名称"`
  39. Kind string `json:"kind" example:"广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告 5:全屏视频)"`
  40. Info string `json:"info" example:"广告位配置 {\"chuanshanjia\":{\"android_ad_id\":[\"\"],\"ios_ad_id\":[\"\"]}}"`
  41. CountingDown string `json:"counting_down" example:"倒计时 单位秒"`
  42. }
  43. type AdvertisingLimit struct {
  44. Minute string `json:"minute" example:"分钟"`
  45. ImeiNum string `json:"imei_num" example:"设备数量"`
  46. Tip string `json:"tip" example:"限制提示"`
  47. PublicImg string `json:"public_img" example:"公共弹窗图"`
  48. PublicImgUrl string `json:"public_img_url" example:"公共弹窗图"`
  49. PublicStr string `json:"public_str" example:"公共弹窗文字"`
  50. WithdrawImg string `json:"withdraw_img" example:"提现弹窗图"`
  51. WithdrawImgUrl string `json:"withdraw_img_url" example:"提现弹窗图"`
  52. WithdrawStr string `json:"withdraw_str" example:"提现弹窗文字"`
  53. }
  54. type AdvertisingFunctionListReq struct {
  55. Page string `json:"page"`
  56. Limit string `json:"limit"`
  57. }
  58. type AdvertisingFunctionListResp struct {
  59. SelectData []map[string]string `json:"select_data"`
  60. AdvData []map[string]string `json:"adv_data"`
  61. Total int64 `json:"total"`
  62. List []AdvertisingFunctionList `json:"list"`
  63. }
  64. type AdvertisingFunctionList struct {
  65. Id string `json:"id" `
  66. Type string `json:"type" example:"类型"`
  67. AdId string `json:"ad_id" example:"广告id"`
  68. }