Authored by 郭成尧

'uid处理'

... ... @@ -228,7 +228,9 @@ class UserData
$param = Yohobuy::param();
$param['method'] = 'app.home.newPreference';
$param['yh_channel'] = $channel;
$param['uid'] = $uid;
if ($uid != 0 && $uid != null) {
$param['uid'] = $uid;
}
$param['udid'] = $udid;
$param['rec_pos'] = $rec_pos;
$param['limit'] = $limit;
... ...
... ... @@ -419,13 +419,13 @@ class CartModel
/**
* 获取为你优选商品 待处理
*
* @param $channel
* @param $uid
* @param $udid
* @param $rec_pos
* @param $limit
* @param $channel 频道
* @param $uid 用户id
* @param $udid 设备id
* @param int $page 分页页码
* @return array
* @internal param $rec_pos
* @internal param $limit
*/
public static function getRecommendProduct($channel, $uid, $udid, $page)
{
... ...