Authored by Rock Zhang

添加品牌一览页面顶部导航的数据

Code Review By Rock Zhang
... ... @@ -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();
... ...