GoodsRecommendGetParamBean.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?php
  2. namespace App\Http\Bean\Util\Pdd\Ddk;
  3. use App\Http\Bean\BaseBean;
  4. class GoodsRecommendGetParamBean extends BaseBean
  5. {
  6. /**
  7. * 活动商品标记数组,例:[4,7],4-秒杀,7-百亿补贴,10851-千万补贴,31-品牌黑标,10564-精选爆品-官方直推爆款,10584-精选爆品-团长推荐,24-品牌高佣,其他的值请忽略
  8. */
  9. private $activity_tags;
  10. /**
  11. * 猜你喜欢场景的商品类目,20100-百货,20200-母婴,20300-食品,20400-女装,20500-电器,20600-鞋包,20700-内衣,20800-美妆,20900-男装,21000-水果,21100-家纺,21200-文具,21300-运动,21400-虚拟,21500-汽车,21600-家装,21700-家具,21800-医药
  12. */
  13. private $cat_id;
  14. /**
  15. * 进宝频道推广商品: 1-今日销量榜,3-相似商品推荐,4-猜你喜欢(和进宝网站精选一致),5-实时热销榜,6-实时收益榜。默认值5
  16. */
  17. private $channel_type;
  18. /**
  19. * 自定义参数json
  20. */
  21. private $custom_parameters;
  22. /**
  23. * 商品goodsSign列表,相似商品推荐场景时必传,仅取数组的第一位,例如:["c9r2omogKFFAc7WBwvbZU1ikIb16_J3CTa8HNN"]
  24. */
  25. private $goods_sign_list;
  26. /**
  27. * 每页数量
  28. */
  29. private $limit;
  30. /**
  31. * 翻页时建议填写前页返回的list_id值
  32. */
  33. private $list_id;
  34. /**
  35. * 从多少位置开始请求;默认值 : 0,offset需是limit的整数倍,仅支持整页翻页
  36. */
  37. private $offset;
  38. /**
  39. * 推广位ID
  40. */
  41. private $pid;
  42. /**
  43. * @return mixed
  44. */
  45. public function getActivityTags()
  46. {
  47. return $this->activity_tags;
  48. }
  49. /**
  50. * @param mixed $activity_tags
  51. */
  52. public function setActivityTags($activity_tags)
  53. {
  54. $this->activity_tags = $activity_tags;
  55. }
  56. /**
  57. * @return mixed
  58. */
  59. public function getCatId()
  60. {
  61. return $this->cat_id;
  62. }
  63. /**
  64. * @param mixed $cat_id
  65. */
  66. public function setCatId($cat_id)
  67. {
  68. $this->cat_id = $cat_id;
  69. }
  70. /**
  71. * @return mixed
  72. */
  73. public function getChannelType()
  74. {
  75. return $this->channel_type;
  76. }
  77. /**
  78. * @param mixed $channel_type
  79. */
  80. public function setChannelType($channel_type)
  81. {
  82. $this->channel_type = $channel_type;
  83. }
  84. /**
  85. * @return mixed
  86. */
  87. public function getCustomParameters()
  88. {
  89. return $this->custom_parameters;
  90. }
  91. /**
  92. * @param mixed $custom_parameters
  93. */
  94. public function setCustomParameters($custom_parameters)
  95. {
  96. $this->custom_parameters = $custom_parameters;
  97. }
  98. /**
  99. * @return mixed
  100. */
  101. public function getGoodsSignList()
  102. {
  103. return $this->goods_sign_list;
  104. }
  105. /**
  106. * @param mixed $goods_sign_list
  107. */
  108. public function setGoodsSignList($goods_sign_list)
  109. {
  110. $this->goods_sign_list = $goods_sign_list;
  111. }
  112. /**
  113. * @return mixed
  114. */
  115. public function getLimit()
  116. {
  117. return $this->limit;
  118. }
  119. /**
  120. * @param mixed $limit
  121. */
  122. public function setLimit($limit)
  123. {
  124. $this->limit = $limit;
  125. }
  126. /**
  127. * @return mixed
  128. */
  129. public function getListId()
  130. {
  131. return $this->list_id;
  132. }
  133. /**
  134. * @param mixed $list_id
  135. */
  136. public function setListId($list_id)
  137. {
  138. $this->list_id = $list_id;
  139. }
  140. /**
  141. * @return mixed
  142. */
  143. public function getOffset()
  144. {
  145. return $this->offset;
  146. }
  147. /**
  148. * @param mixed $offset
  149. */
  150. public function setOffset($offset)
  151. {
  152. $this->offset = $offset;
  153. }
  154. /**
  155. * @return mixed
  156. */
  157. public function getPid()
  158. {
  159. return $this->pid;
  160. }
  161. /**
  162. * @param mixed $pid
  163. */
  164. public function setPid($pid)
  165. {
  166. $this->pid = $pid;
  167. }
  168. }