...
|
...
|
@@ -22,15 +22,21 @@ class RecomData |
|
|
*
|
|
|
* @param string $gender "1,3"表示男, "2,3"表示女
|
|
|
* @param string $channel 1表示男, 2表示女
|
|
|
* @param string $uid 用户ID
|
|
|
* @param string $udid 设备号
|
|
|
* @param string $recPos 推荐位 100001表示男首,100002表示女首,1000009表示有货币
|
|
|
* @param int $page 分页第几页, 默认第1页
|
|
|
* @param int $limit 查询返回的最大限制数, 默认为50
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function mayLike($gender, $channel, $page = 1, $limit = 50)
|
|
|
public static function mayLike($gender, $uid, $udid, $recPos, $channel, $page = 1, $limit = 50)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'app.search.last7day';
|
|
|
$param['method'] = 'app.search.newLast7day';
|
|
|
$param['gender'] = $gender;
|
|
|
$param['uid'] = $uid;
|
|
|
$param['udid'] = $udid;
|
|
|
$param['rec_pos'] = $recPos;
|
|
|
$param['page'] = $page;
|
|
|
$param['limit'] = $limit;
|
|
|
$param['yh_channel'] = $channel;
|
...
|
...
|
|