feat: #10000 快团团请求优化
This commit is contained in:
parent
15d95f0e9f
commit
362f622a80
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user