Browse Source

checkredis

undefined
娄梦宁 4 years ago
parent
commit
0aaf9ace2b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      application/admin/controller/unishop/Order.php

+ 1
- 1
application/admin/controller/unishop/Order.php View File

@@ -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);



Loading…
Cancel
Save