This commit is contained in:
devil_gong 2018-11-26 16:11:00 +08:00
parent 80a584d3f1
commit 5587951ad7

View File

@ -149,8 +149,8 @@ class SearchService
} else {
if(!empty($params['min_price']) || !empty($params['max_price']))
$price = [
'min_price' => isset($params['min_price']) ? $params['min_price'] : 0,
'max_price' => isset($params['max_price']) ? $params['max_price'] : 0,
'min_price' => !empty($params['min_price']) ? $params['min_price'] : 0,
'max_price' => !empty($params['max_price']) ? $params['max_price'] : 0,
];
}
if(!empty($price))