...
|
...
|
@@ -38,6 +38,24 @@ class BrandModel |
|
|
$result = array();
|
|
|
$brand = array();
|
|
|
|
|
|
// 设置品牌一览顶部频道导航
|
|
|
$channels = array(
|
|
|
1 => array(
|
|
|
'name' => 'Boy'
|
|
|
),
|
|
|
2 => array(
|
|
|
'name' => 'Girl'
|
|
|
),
|
|
|
3 => array(
|
|
|
'name' => 'Kid'
|
|
|
),
|
|
|
4 => array(
|
|
|
'name' => 'Lifestyle'
|
|
|
)
|
|
|
);
|
|
|
$channels[$channel]['active'] = true;
|
|
|
$result['channels'] = $channels;
|
|
|
|
|
|
/* 根据频道调用接口 */
|
|
|
switch (intval($channel)) {
|
|
|
case 1: // 男生
|
...
|
...
|
@@ -83,6 +101,7 @@ class BrandModel |
|
|
}
|
|
|
|
|
|
$result['pageFooter'] = true;
|
|
|
print_r($result);
|
|
|
|
|
|
$brand = array();
|
|
|
|
...
|
...
|
|