mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -15,7 +15,7 @@ class CouponController extends Controller | ||||
|         if (!$coupon) { | ||||
|             abort(500, '优惠券无效'); | ||||
|         } | ||||
|         if ($coupon->limit_use <= 0) { | ||||
|         if ($coupon->limit_use <= 0 && $coupon->limit_use !== NULL) { | ||||
|             abort(500, '优惠券已无可用次数'); | ||||
|         } | ||||
|         if (time() < $coupon->started_at) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user