feat : refund
This commit is contained in:
@@ -97,7 +97,6 @@ class PlaceOrderService extends BaseOrderService
|
||||
foreach ($this->cartFirstData as $goodId => $stock) {
|
||||
$this->rollbackStockCache[$goodId] = $stock;
|
||||
if (!($this->redis->zIncrBy($this->stockKey,-$stock,$goodId))) {
|
||||
echo '123';
|
||||
throw new Exception('cache error');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user