...
|
...
|
@@ -163,7 +163,7 @@ class BrandsModel |
|
|
if (!empty($brandInfo['data']) && $brandInfo['code'] == 200) {
|
|
|
$result['brandId'] = isset($brandInfo['data']['id']) ? $brandInfo['data']['id'] : '';
|
|
|
$result['node'] = isset($brandInfo['data']['static_content_code']) ? $brandInfo['data']['static_content_code'] : false;
|
|
|
$result['brandBanner'] = isset($brandInfo['data']['brand_banner']) ? $brandInfo['data']['brand_banner'] : '';
|
|
|
$result['brandBanner'] = isset($brandInfo['data']['brand_banner']) ? Helpers::getUrlSafe($brandInfo['data']['brand_banner']) : '';
|
|
|
$result['brandNameEn'] = isset($brandInfo['data']['brand_name_en']) ? $brandInfo['data']['brand_name_en'] : '';
|
|
|
$result['brandNameCn'] = isset($brandInfo['data']['brand_name_cn']) ? $brandInfo['data']['brand_name_cn'] : '';
|
|
|
$result['brandAbout'] = isset($brandInfo['data']['brand_intro']) ? $brandInfo['data']['brand_intro'] : '';
|
...
|
...
|
@@ -197,7 +197,7 @@ class BrandsModel |
|
|
if (isset($series['data']) && $series['code'] === 200) {
|
|
|
foreach ($series['data'] as $value) {
|
|
|
$result['list'][$index]['href'] = '?series=' . $value['id'];
|
|
|
$result['list'][$index]['src'] = $value['series_banner'];
|
|
|
$result['list'][$index]['src'] = Helpers::getUrlSafe($value['series_banner']);
|
|
|
++ $index;
|
|
|
}
|
|
|
//title设置为经典系列
|
...
|
...
|
@@ -207,7 +207,7 @@ class BrandsModel |
|
|
if (isset($advNav['data']) && $advNav['code'] === 200) {
|
|
|
foreach ($advNav['data'] as $value) {
|
|
|
$result['list'][$index]['href'] = '?folder_id=' . $value['id'];
|
|
|
$result['list'][$index]['src'] = $value['brand_sort_ico'];
|
|
|
$result['list'][$index]['src'] = Helpers::getUrlSafe($value['brand_sort_ico']);
|
|
|
++ $index;
|
|
|
}
|
|
|
//title设置为经典系列
|
...
|
...
|
|