Commit ab91aecb authored by hujun's avatar hujun

>

parent 232c894e
......@@ -157,7 +157,7 @@ class CouponService{
$where['activity_id'] = $v['id'];
$where['status'] = ['<>',2];
$num = $this->m_coupon->getCount($where);
if ($num <= $v['available']) {
if ($num > $v['available']) {
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