|
@@ -64,8 +64,8 @@ class LowPriceGoods extends Controller
|
|
|
if ($category_id) $map[] = ['category_id', '=', $category_id];
|
|
if ($category_id) $map[] = ['category_id', '=', $category_id];
|
|
|
if ($product_brand) $map[] = ['product_brand', 'like', "%$product_brand%"];
|
|
if ($product_brand) $map[] = ['product_brand', 'like', "%$product_brand%"];
|
|
|
if ($product_specs) $map[] = ['product_specs', 'like', "%$product_specs%"];
|
|
if ($product_specs) $map[] = ['product_specs', 'like', "%$product_specs%"];
|
|
|
- if ($suggested_min_price) $map[] = ['suggested_min_price', '>=', $suggested_min_price];
|
|
|
|
|
- if ($suggested_max_price) $map[] = ['suggested_max_price', '<=', $suggested_max_price];
|
|
|
|
|
|
|
+ if ($suggested_min_price) $map[] = ['suggested_price', '>=', $suggested_min_price];
|
|
|
|
|
+ if ($suggested_max_price) $map[] = ['suggested_price', '<=', $suggested_max_price];
|
|
|
// 查询数据
|
|
// 查询数据
|
|
|
if ($is_admin != 1 && $company_id != 0) {
|
|
if ($is_admin != 1 && $company_id != 0) {
|
|
|
$map[] = ['company_id', '=', $company_id];
|
|
$map[] = ['company_id', '=', $company_id];
|