|
|
@@ -82,7 +82,7 @@ class StoreProduct extends BaseModel
|
|
|
|
|
|
public static function validWhere()
|
|
|
{
|
|
|
- return self::where('is_del', 0)->where('is_show', 1)->where('mer_id', 0);
|
|
|
+ return self::where('is_del', 0)->where('is_show', 1);
|
|
|
}
|
|
|
|
|
|
public static function getProductList($data, $uid)
|
|
|
@@ -132,7 +132,6 @@ class StoreProduct extends BaseModel
|
|
|
if (is_null($item['cart_num'])) $item['cart_num'] = 0;
|
|
|
}
|
|
|
});
|
|
|
- var_dump($model->getLastSql());die();
|
|
|
$list = count($list) ? $list->toArray() : [];
|
|
|
if (!empty($list)) {
|
|
|
foreach ($list as $k => $v) {
|