Authored by yangyang

修改

... ... @@ -59,7 +59,7 @@ class BrandsModel
{
$urlList = array();
//组合搜索品牌url
$urlList['brand'] = HelperSearch::getBrandUrl($customOptions);
$urlList['brand'] = SearchData::getBrandUrl($customOptions);
//批量调接口
$result = Yohobuy::getMulti($urlList, array(), true);
... ...
... ... @@ -8,8 +8,8 @@ use product\HotrankModel;
class IndexController extends WebAction
{
/**
* 品牌首页
*/
* 品牌首页
*/
public function brandAction()
{
//品牌域名,没有获取到品牌域名的跳转首页
... ... @@ -62,7 +62,7 @@ class IndexController extends WebAction
}
//品牌介绍页
public function brandIntroAction()
public function brandAboutAction()
{
//品牌域名
$domain = $this->param('named');
... ...
... ... @@ -57,14 +57,16 @@ class ListController extends WebAction
*/
public function saleAction()
{
$options['controller'] = $this->_request->controller;
$options['action'] = $this->_request->action;
$options['controller'] = 'Index';
$options['action'] = 'sale';
$options['reviewNum'] = 6;
$condition = array();
$condition = array(
'p_d' => '0.01,0.99'
);
$option = array(
'controller' => 'List',
'action' => 'sale',
'reviewNum'=>6
'reviewNum' => 6
);
$list = SearchModel::getListData($condition,$option);
$data = array(
... ...