code review by fei.hong: do fixes bug to product brand shops show images
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -67,6 +67,7 @@ class SearchModel | @@ -67,6 +67,7 @@ class SearchModel | ||
67 | 'rowNum' => FILTER_VALIDATE_INT, | 67 | 'rowNum' => FILTER_VALIDATE_INT, |
68 | 'specialsale_id' => FILTER_VALIDATE_INT, | 68 | 'specialsale_id' => FILTER_VALIDATE_INT, |
69 | 'new' => FILTER_SANITIZE_STRING, | 69 | 'new' => FILTER_SANITIZE_STRING, |
70 | + 'series_id' => FILTER_VALIDATE_INT, | ||
70 | 'page' => FILTER_VALIDATE_INT), false); | 71 | 'page' => FILTER_VALIDATE_INT), false); |
71 | //接收高级选项 | 72 | //接收高级选项 |
72 | foreach ($_GET as $key =>$val) { | 73 | foreach ($_GET as $key =>$val) { |
@@ -17,7 +17,7 @@ class IndexController extends WebAction | @@ -17,7 +17,7 @@ class IndexController extends WebAction | ||
17 | public function brandAction() | 17 | public function brandAction() |
18 | { | 18 | { |
19 | //品牌域名,没有获取到品牌域名的跳转首页 | 19 | //品牌域名,没有获取到品牌域名的跳转首页 |
20 | - $domain = $this->param('named'); | 20 | + $domain = $this->param('named', 'ablejeans'); |
21 | if (empty($domain)) { | 21 | if (empty($domain)) { |
22 | $this->go(SITE_MAIN); | 22 | $this->go(SITE_MAIN); |
23 | } | 23 | } |
-
Please register or login to post a comment