WIN-2308041133\Administrator 2 weeks ago
parent
commit
e145fba443
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/models/store/StoreProduct.php

+ 1 - 2
app/models/store/StoreProduct.php

@@ -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) {