From 6283104b1a43b838b0b18374197ebfb17b0b02c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 14:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Aop.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/System/Aop.php b/System/Aop.php index 7403ab52..bb06a737 100644 --- a/System/Aop.php +++ b/System/Aop.php @@ -54,10 +54,6 @@ class Aop extends Component return call_user_func($close, ...$get_args); } - if (empty($close)) { - return response()->close(404); - } - $aopName = get_class($close[0]) . '::' . $close[1]; if (!isset($this->_aop[$aopName])) { return call_user_func($close, ...$get_args);