Commit ab91aecb authored by hujun's avatar hujun

>

parent 232c894e
...@@ -157,7 +157,7 @@ class CouponService{ ...@@ -157,7 +157,7 @@ class CouponService{
$where['activity_id'] = $v['id']; $where['activity_id'] = $v['id'];
$where['status'] = ['<>',2]; $where['status'] = ['<>',2];
$num = $this->m_coupon->getCount($where); $num = $this->m_coupon->getCount($where);
if ($num <= $v['available']) { if ($num > $v['available']) {
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment