Authored by Rock Zhang

去除频道页的推荐品牌和custorm_brans楼层类型中品牌列表链接中的gender参数

Code Review By Rock Zhang
... ... @@ -208,7 +208,7 @@ class FloorProcess
foreach ($data['list'] as &$one) {
if (isset($one['url'])) {
$one['url'] = Helpers::getFilterUrl($one['url']);
isset(self::$channel[$type]) && $one['url'] .= '?gender=' . self::$channel[$type];
// isset(self::$channel[$type]) && $one['url'] .= '?gender=' . self::$channel[$type];
}
$one['img'] = Helpers::getImageUrl($one['src'], 158, 174);
unset($one['src']);
... ... @@ -428,9 +428,9 @@ class FloorProcess
{
// URL附加参数
$param = '';
if (isset(self::$channel[$type])) {
/*if (isset(self::$channel[$type])) {
$param = '/?gender=' . self::$channel[$type];
}
}*/
$result = array();
$result['hotBrandsScroll']['name'] = $data['title']['title'];
... ...