商品筛选

This commit is contained in:
TL 2023-01-11 14:14:38 +08:00
parent 671a7f18d0
commit a3d2236df8
1 changed files with 2 additions and 2 deletions

View File

@ -235,8 +235,8 @@ class ProductRepo
return [
'min' => $min,
'max' => $max,
'select_min' => $selectMin ?: $min,
'select_max' => $selectMax ?: $max,
'select_min' => ($selectMin && $selectMin > $min) ? $selectMin : $min,
'select_max' => ($selectMax && $selectMax < $max) ? $selectMax: $max,
];
}