...
|
...
|
@@ -50,9 +50,11 @@ class IndexController extends WebAction |
|
|
'rowNum' => FILTER_VALIDATE_INT,
|
|
|
'page' => FILTER_VALIDATE_INT,), false);
|
|
|
|
|
|
//字符转码
|
|
|
foreach ($condition as &$value) {
|
|
|
$value = rawurldecode($value);
|
|
|
if(!empty($condition)) {
|
|
|
//字符转码
|
|
|
foreach ($condition as &$value) {
|
|
|
$value = rawurldecode($value);
|
|
|
}
|
|
|
}
|
|
|
//传品牌ID参数
|
|
|
$condition['brand'] = $brandId;
|
...
|
...
|
@@ -63,7 +65,7 @@ class IndexController extends WebAction |
|
|
|
|
|
//每页显示商品数
|
|
|
if(!isset($condition['viewNum']) || empty($condition['viewNum'])){
|
|
|
$condition['viewNum'] =60;
|
|
|
$condition['viewNum'] = 60;
|
|
|
}
|
|
|
$view_num_arr = array(60, 100, 200);
|
|
|
if (!in_array($condition['viewNum'], $view_num_arr)) {
|
...
|
...
|
@@ -89,8 +91,8 @@ class IndexController extends WebAction |
|
|
'minImgSize' => $minImgSize,
|
|
|
'gender' => $gender,
|
|
|
'needPd' => 'Y',
|
|
|
'rowNum' =>$condition['rowNum'],
|
|
|
'viewNum' =>$condition['viewNum'],
|
|
|
'rowNum' => $condition['rowNum'],
|
|
|
'viewNum' => $condition['viewNum'],
|
|
|
);
|
|
|
|
|
|
$params = $condition + $_GET;
|
...
|
...
|
|