|
|
@@ -656,7 +656,7 @@ class Order extends Backend |
|
|
|
->where(["o.id"=>(int)$order_id]) |
|
|
|
->field("flash_id,product_id")->find(); |
|
|
|
|
|
|
|
$sold = $redis->handler->hIncrBy('flash_sale_' . $flash->flash_id. '_' . $flash->flash_id, 'sold', -1); |
|
|
|
$sold = $redis->handler->hIncrBy('flash_sale_' . $flash->flash_id. '_' . $flash->product_id, 'sold', -1); |
|
|
|
|
|
|
|
$this->success("提交成功", null); |
|
|
|
|
|
|
|