Commit c1c62c70 by mushishixian

fix

parent c9bef929
Showing with 1 additions and 1 deletions
...@@ -266,7 +266,7 @@ class DataService ...@@ -266,7 +266,7 @@ class DataService
public function pushSupplierSKu() public function pushSupplierSKu()
{ {
$supplierModel = new SupplierChannelModel(); $supplierModel = new SupplierChannelModel();
$suppliers = $supplierModel->where('is_type', 0)->where('supplier_group', 4)->limit(10)->get()->toArray(); $suppliers = $supplierModel->where('is_type', 0)->where('supplier_group', 4)->get()->toArray();
$redis = new RedisModel(); $redis = new RedisModel();
foreach ($suppliers as $supplier) { foreach ($suppliers as $supplier) {
$supplierTag = $redis->hget('supplier_search_tags', $supplier['supplier_code']); $supplierTag = $redis->hget('supplier_search_tags', $supplier['supplier_code']);
......
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 sign in to comment