...
|
...
|
@@ -123,7 +123,9 @@ class BrandModel |
|
|
$list = array();
|
|
|
$build = array();
|
|
|
foreach ($brand['data']['brands'] as $char => $value) {
|
|
|
$build = array();
|
|
|
foreach ($value as $row) {
|
|
|
$list = array();
|
|
|
$list['name'] = $row['brand_name'];
|
|
|
$list['isHot'] = ($row['is_hot'] === 'Y') ? true : false;
|
|
|
$list['isNew'] = ($row['is_show_new'] === 'Y') ? true : false;
|
...
|
...
|
|