diff --git a/app/Http/Controllers/OrderController.php b/app/Http/Controllers/OrderController.php index 1cdbecdb..7860a059 100755 --- a/app/Http/Controllers/OrderController.php +++ b/app/Http/Controllers/OrderController.php @@ -59,7 +59,7 @@ class OrderController extends Controller abort(500, '该订阅已售罄'); } - if (!($plan->show || !$plan->renew)) { + if (!$plan->show && !$plan->renew) { abort(500, '该订阅无法续费'); }