wesmiler hai 3 meses
pai
achega
f9647002c4
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      app/Models/GoodsModel.php

+ 0 - 1
app/Models/GoodsModel.php

@@ -77,7 +77,6 @@ class GoodsModel extends BaseModel
     {
         return $this->hasMany(GoodsSkuModel::class, 'goods_id', 'id')
             ->where(['mark' => 1, 'status' => 1])
-            ->where('stock','>', 0)
             ->orderBy('sort', 'desc');
     }
 }