Commit 4c937d5c authored by hj's avatar hj

更新提交

parent a5cd1483
...@@ -117,6 +117,7 @@ class RhawnProductRepositoryEloquent extends BaseRepository implements RhawnProd ...@@ -117,6 +117,7 @@ class RhawnProductRepositoryEloquent extends BaseRepository implements RhawnProd
} }
} }
} }
$productsModel->where('chemicals.c_status', 1);
$product = $productsModel->offset($offset)->limit($limit)->get(); $product = $productsModel->offset($offset)->limit($limit)->get();
if($product){ if($product){
return $product->toArray(); return $product->toArray();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment