Showing
1 changed file
with
4 additions
and
10 deletions
@@ -93,16 +93,10 @@ class NewsaleData | @@ -93,16 +93,10 @@ class NewsaleData | ||
93 | 'dayLimit' => $dayLimit | 93 | 'dayLimit' => $dayLimit |
94 | ); | 94 | ); |
95 | // 拉取筛选参数 | 95 | // 拉取筛选参数 |
96 | - if (isset($selectItems['age_level']) && $selectItems['age_level'] === '0'){ | ||
97 | - $queriedParams = array_filter($selectItems, function($v) { | ||
98 | - return !empty($v); | ||
99 | - }); | ||
100 | - $queriedParams['age_level'] = '0'; | ||
101 | - }else { | ||
102 | - $queriedParams = array_filter($selectItems, function($v) { | ||
103 | - return !empty($v); | ||
104 | - }); | ||
105 | - } | 96 | + |
97 | + $queriedParams = array_filter($selectItems, function($v) { | ||
98 | + return !empty($v); | ||
99 | + }); | ||
106 | 100 | ||
107 | $param = Yohobuy::param(); | 101 | $param = Yohobuy::param(); |
108 | if (!is_null($dayLimit)) { | 102 | if (!is_null($dayLimit)) { |
-
Please register or login to post a comment