蛋蛋星球 后台端
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

127 行
6.1 KiB

  1. package md
  2. var AdvertisingPlatform = []map[string]string{
  3. {"name": "穿山甲", "value": "chuanshanjia"},
  4. {"name": "优量汇", "value": "youlianghui"},
  5. }
  6. var AdvertisingType = []map[string]string{
  7. {"name": "APP开屏(开屏广告)", "value": "open_advertisement"},
  8. {"name": "(新版弃用)蛋蛋主题砸蛋(激励视频)", "value": "incentive_eggSmash"},
  9. {"name": "蛋蛋主题砸蛋一(激励视频)", "value": "incentive_eggSmash_1"},
  10. {"name": "蛋蛋主题砸蛋二(激励视频)", "value": "incentive_eggSmash_2"},
  11. {"name": "蛋蛋主题砸蛋三(激励视频)", "value": "incentive_eggSmash_3"},
  12. {"name": "蛋蛋主题砸蛋四(激励视频)", "value": "incentive_eggSmash_4"},
  13. {"name": "蛋蛋主题砸蛋五(激励视频)", "value": "incentive_eggSmash_5"},
  14. {"name": "蛋蛋主题砸蛋六(激励视频)", "value": "incentive_eggSmash_6"},
  15. {"name": "蛋蛋主题签到(激励视频)", "value": "incentive_eggSign"},
  16. {"name": "提现(激励视频)", "value": "incentive_withdraw"},
  17. {"name": "积分兑换(插屏)", "value": "interstitial_integralExchange"},
  18. {"name": "动态IM(信息流)", "value": "information_im"},
  19. {"name": "蛋蛋主题底部(信息流)", "value": "information_eggTheme"},
  20. {"name": "会员中心底部(信息流)", "value": "information_member"},
  21. {"name": "首页介绍底部(信息流)", "value": "information_index"},
  22. {"name": "提现底部(信息流)", "value": "information_withdraw"},
  23. }
  24. type AdvertisingBase struct {
  25. AndroidAdIsOpen string `json:"android_ad_is_open" example:"安卓广告是否开启(1:开启 0:不开启)"`
  26. IosAdIsOpen string `json:"ios_ad_is_open" example:"ios广告是否开启(1:开启 0:不开启)"`
  27. AndroidOpenAdIsOpen string `json:"android_open_ad_is_open" example:"安卓开屏广告是否开启(1:开启 0:不开启)"`
  28. IosOpenAdIsOpen string `json:"ios_open_ad_is_open" example:"ios开屏广告是否开启(1:开启 0:不开启)"`
  29. Voice string `json:"voice" example:"领取奖励声音"`
  30. VoiceUrl string `json:"voice_url"`
  31. Info string `json:"info" example:"广告商配置 {\"chuanshanjia\":{\"android_app_key\":\"\"}}"`
  32. }
  33. type AdvertisingBaseResp struct {
  34. SelectData []map[string]string `json:"select_data"`
  35. AdvertisingBase AdvertisingBase `json:"advertising_base"`
  36. }
  37. type AdvertisingListReq struct {
  38. Page string `json:"page"`
  39. Limit string `json:"limit"`
  40. Name string `json:"name"`
  41. Kind string `json:"kind"`
  42. }
  43. type AdvertisingListResp struct {
  44. AdvData []map[string]string `json:"adv_data"`
  45. SelectData []map[string]string `json:"select_data"`
  46. Total int64 `json:"total"`
  47. List []AdvertisingList `json:"list"`
  48. }
  49. type AdvertisingList struct {
  50. Id string `json:"id" `
  51. Name string `json:"name" example:"名称"`
  52. Kind string `json:"kind" example:"广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告 5:全屏视频)"`
  53. Info string `json:"info" example:"广告位配置 {\"chuanshanjia\":{\"android_ad_id\":[{\"id\":\"\",\"key\":\"\"}],\"ios_ad_id\":[{\"id\":\"\",\"key\":\"\"}}}"`
  54. CountingDown string `json:"counting_down" example:"倒计时 单位秒"`
  55. }
  56. type AdvertisingVisitListReq struct {
  57. Page string `json:"page"`
  58. Limit string `json:"limit"`
  59. Uid string `json:"uid"`
  60. Phone string `json:"phone"`
  61. Amount string `json:"amount" example:"ecpm "`
  62. StartTime string `json:"start_time"`
  63. EndTime string `json:"end_time"`
  64. Platform string `json:"platform" example:"广告平台 "`
  65. Type string `json:"type" example:"广告类型 "`
  66. }
  67. type AdvertisingVisitListResp struct {
  68. PlatformData []map[string]string `json:"platform_data"`
  69. TypeData []map[string]string `json:"type_data"`
  70. Total int64 `json:"total"`
  71. List []AdvertisingVisitList `json:"list"`
  72. }
  73. type AdvertisingVisitList struct {
  74. Id string `json:"id" `
  75. Uid string `json:"uid" example:"用户id"`
  76. Phone string `json:"phone" example:"手机号"`
  77. Ecpm string `json:"ecpm" example:"ecpm"`
  78. CustomEcpm string `json:"custom_ecpm" example:"ecpm"`
  79. Integral string `json:"integral" example:"活跃值"`
  80. Platform string `json:"platform" example:"广告平台"`
  81. PhonePlatform string `json:"phone_platform" example:"手机平台"`
  82. Type string `json:"type" example:"广告位置"`
  83. Time string `json:"time" example:"时间"`
  84. }
  85. type AdvertisingDelReq struct {
  86. Id []string `json:"id"`
  87. }
  88. type AdvertisingSaveReq struct {
  89. Id string `json:"id"`
  90. Name string `json:"name" example:"名称"`
  91. Kind string `json:"kind" example:"广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告 5:全屏视频)"`
  92. Info string `json:"info" example:"广告位配置 {\"chuanshanjia\":{\"android_ad_id\":[{\"id\":\"\",\"key\":\"\"}],\"ios_ad_id\":[{\"id\":\"\",\"key\":\"\"}}}"`
  93. CountingDown string `json:"counting_down" example:"倒计时 单位秒"`
  94. }
  95. type AdvertisingLimit struct {
  96. Minute string `json:"minute" example:"分钟"`
  97. ImeiNum string `json:"imei_num" example:"设备数量"`
  98. Tip string `json:"tip" example:"限制提示"`
  99. PublicImg string `json:"public_img" example:"公共弹窗图"`
  100. PublicImgUrl string `json:"public_img_url" example:"公共弹窗图"`
  101. PublicStr string `json:"public_str" example:"公共弹窗文字"`
  102. WithdrawImg string `json:"withdraw_img" example:"提现弹窗图"`
  103. WithdrawImgUrl string `json:"withdraw_img_url" example:"提现弹窗图"`
  104. WithdrawStr string `json:"withdraw_str" example:"提现弹窗文字"`
  105. }
  106. type AdvertisingFunctionListReq struct {
  107. Page string `json:"page"`
  108. Limit string `json:"limit"`
  109. }
  110. type AdvertisingFunctionListResp struct {
  111. SelectData []map[string]string `json:"select_data"`
  112. AdvData []map[string]string `json:"adv_data"`
  113. Total int64 `json:"total"`
  114. List []AdvertisingFunctionList `json:"list"`
  115. }
  116. type AdvertisingFunctionList struct {
  117. Id string `json:"id" `
  118. Type string `json:"type" example:"类型"`
  119. AdId string `json:"ad_id" example:"广告id"`
  120. }