Authored by Rock Zhang

修复男女首页热门品牌gender参数添加后对创意生活影响的bug

... ... @@ -205,7 +205,8 @@ class FloorProcess
unset($data['title']);
foreach ($data['list'] as &$one) {
if (isset($one['url'])) {
$one['url'] = Helpers::getFilterUrl($one['url']).'?gender='.self::$channel[$type];
$one['url'] = Helpers::getFilterUrl($one['url']);
isset(self::$channel[$type]) && $one['url'] .= '?gender='.self::$channel[$type];
}
$one['img'] = Helpers::getImageUrl($one['src'], 158, 174);
unset($one['src']);
... ...