Commit 2fbab8e5 by 杨树贤

修改批量设置数量

parent b2f9b3ac
Showing with 1 additions and 1 deletions
......@@ -363,7 +363,7 @@ class SkuService
if ($setType == 1) {
$supplierIds = SupplierChannelModel::where('supplier_group', $supplierGroup)->where('is_type', 0)
->pluck('supplier_id')->toArray();
$supplierIds = collect($supplierIds)->chunk(50)->toArray();
$supplierIds = collect($supplierIds)->chunk(300)->toArray();
foreach ($supplierIds as $supplierIdList) {
$supplierIdList = array_values($supplierIdList);
//先去批量设置过期时间限制天数
......
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