@ -35,6 +35,7 @@ class CouponRebate implements CouponRebateInterface
['end_time','>',$time],
])
->whereRaw('inventory > inventory_use')
->orderBy('addtime','desc')
->get();
return $res;
}