Boys.php
519 Bytes
<?php
use Action\AbstractAction;
use LibModels\Wap\Home\IndexData as Index;
/**
* 男生首页
*/
class BoysController extends AbstractAction
{
public function indexAction()
{
// 显示侧边栏
$this->setNavSide();
// 频道数据
$channelData = Index::getUserChannelData(0, '1,3', '201504091403001');
echo '<pre>';
print_r($channelData);
$this->_view->assign('title', 'YOHO!有货');
$this->_view->display('boys', compact('channelData'));
}
}