Showing
3 changed files
with
8 additions
and
6 deletions
@@ -59,7 +59,7 @@ class BrandsModel | @@ -59,7 +59,7 @@ class BrandsModel | ||
59 | { | 59 | { |
60 | $urlList = array(); | 60 | $urlList = array(); |
61 | //组合搜索品牌url | 61 | //组合搜索品牌url |
62 | - $urlList['brand'] = HelperSearch::getBrandUrl($customOptions); | 62 | + $urlList['brand'] = SearchData::getBrandUrl($customOptions); |
63 | 63 | ||
64 | //批量调接口 | 64 | //批量调接口 |
65 | $result = Yohobuy::getMulti($urlList, array(), true); | 65 | $result = Yohobuy::getMulti($urlList, array(), true); |
@@ -62,7 +62,7 @@ class IndexController extends WebAction | @@ -62,7 +62,7 @@ class IndexController extends WebAction | ||
62 | } | 62 | } |
63 | 63 | ||
64 | //品牌介绍页 | 64 | //品牌介绍页 |
65 | - public function brandIntroAction() | 65 | + public function brandAboutAction() |
66 | { | 66 | { |
67 | //品牌域名 | 67 | //品牌域名 |
68 | $domain = $this->param('named'); | 68 | $domain = $this->param('named'); |
@@ -57,14 +57,16 @@ class ListController extends WebAction | @@ -57,14 +57,16 @@ class ListController extends WebAction | ||
57 | */ | 57 | */ |
58 | public function saleAction() | 58 | public function saleAction() |
59 | { | 59 | { |
60 | - $options['controller'] = $this->_request->controller; | ||
61 | - $options['action'] = $this->_request->action; | 60 | + $options['controller'] = 'Index'; |
61 | + $options['action'] = 'sale'; | ||
62 | $options['reviewNum'] = 6; | 62 | $options['reviewNum'] = 6; |
63 | - $condition = array(); | 63 | + $condition = array( |
64 | + 'p_d' => '0.01,0.99' | ||
65 | + ); | ||
64 | $option = array( | 66 | $option = array( |
65 | 'controller' => 'List', | 67 | 'controller' => 'List', |
66 | 'action' => 'sale', | 68 | 'action' => 'sale', |
67 | - 'reviewNum'=>6 | 69 | + 'reviewNum' => 6 |
68 | ); | 70 | ); |
69 | $list = SearchModel::getListData($condition,$option); | 71 | $list = SearchModel::getListData($condition,$option); |
70 | $data = array( | 72 | $data = array( |
-
Please register or login to post a comment