feat: #10000 快团团请求优化

This commit is contained in:
赵世界 2022-11-04 15:11:43 +08:00
parent 15d95f0e9f
commit 362f622a80

View File

@ -35,6 +35,12 @@ class MiaoXuan extends BusinessClient
public function batchIncrQuantity($businessGoodsSkus, $num, $incremental)
{
$batchAppendParams = [];
foreach ($businessGoodsSkus as $businessGoodsSku) {
$appendParams = Goods::incrQuantity($this->shop->id, $num, $businessGoodsSku);
$batchAppendParams[] = $appendParams;
}
$this->batchAsyncPostRequest('http://shop.chutang66.com/miaoxuan/stock', $batchAppendParams);
}
public function downloadGoods($skuId)