mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-04 04:49:33 +08:00
优化
This commit is contained in:
parent
80a584d3f1
commit
5587951ad7
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user