This commit is contained in:
root 2019-10-27 20:59:19 +08:00
parent 1589c9534c
commit 81bfc56422

View File

@ -59,7 +59,7 @@ class OrderController extends Controller
abort(500, '该订阅已售罄'); abort(500, '该订阅已售罄');
} }
if (!($plan->show || !$plan->renew)) { if (!$plan->show && !$plan->renew) {
abort(500, '该订阅无法续费'); abort(500, '该订阅无法续费');
} }