|
|
|
@ -433,11 +433,7 @@ class Goods extends BaseModel |
|
|
|
|
$filter[] = ['stock_total', '=', 0]; // 已售罄 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
<<<<<<< Updated upstream |
|
|
|
|
|
|
|
|
|
======= |
|
|
|
|
|
|
|
|
|
>>>>>>> Stashed changes |
|
|
|
|
if (isset($params['data_type']) && $params['data_type'] != "") { |
|
|
|
|
if ($params['data_type'] == 1) { |
|
|
|
|
$filter[] = ['data_type', '=', 1]; // 出售中 |
|
|
|
@ -448,10 +444,6 @@ class Goods extends BaseModel |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
<<<<<<< Updated upstream |
|
|
|
|
|
|
|
|
|
======= |
|
|
|
|
>>>>>>> Stashed changes |
|
|
|
|
// 商品状态 |
|
|
|
|
$params['status'] > 0 && $filter[] = ['status', '=', (int)$params['status']]; |
|
|
|
|
$a = 1; |
|
|
|
|