Authored by runner

NewsaleData.php

... ... @@ -93,16 +93,10 @@ class NewsaleData
'dayLimit' => $dayLimit
);
// 拉取筛选参数
if (isset($selectItems['age_level']) && $selectItems['age_level'] === '0'){
$queriedParams = array_filter($selectItems, function($v) {
return !empty($v);
});
$queriedParams['age_level'] = '0';
}else {
$queriedParams = array_filter($selectItems, function($v) {
return !empty($v);
});
}
$queriedParams = array_filter($selectItems, function($v) {
return !empty($v);
});
$param = Yohobuy::param();
if (!is_null($dayLimit)) {
... ...