Plusstar.php
642 Bytes
<?php
use Action\AbstractAction;
use LibModels\Wap\Guang\PlusstarData;
/**
* 明星品牌和原创品牌
*/
class PlusstarController extends AbstractAction
{
/**
* 品牌列表页
*/
public function listAction()
{
$this->_view->assign('title', 'YOHO!有货');
$this->_view->display('list', array('test' => 'hello world'));
$test = PlusstarData::brandList("1,3", 1);
var_dump($test);
}
/**
* 品牌介绍页
*/
public function detailAction()
{
$test = PlusstarData::brandInfo(67, '1,3', 123456);
var_dump($test);
}
}