Authored by 郝肖肖

品牌一览 brand_domain 判断是否存在

... ... @@ -102,6 +102,9 @@ class BrandModel
$build['title'] = $char;
$build['list'] = array();
foreach ($value as $row) {
if (empty($row['brand_domain'])) {
continue;
}
$list['name'] = $row['brand_name'];
$list['isHot'] = (isset($row['is_hot']) && $row['is_hot'] === 'Y') ? true : false;
$list['isNew'] = (isset($row['is_show_new']) && $row['is_show_new'] === 'Y') ? true : false;
... ...