From 8d21dc8accb6c735e4d86d9789ab2c0c29710fff Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Thu, 23 Jul 2020 16:43:01 +0800 Subject: [PATCH] =?UTF-8?q?http=E5=AE=A2=E6=88=B7=E7=AB=AF=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/facade/Http.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/extend/catcher/facade/Http.php b/extend/catcher/facade/Http.php index 33492e4..6e68099 100644 --- a/extend/catcher/facade/Http.php +++ b/extend/catcher/facade/Http.php @@ -21,5 +21,10 @@ use think\Facade; */ class Http extends Facade { - protected static $alwaysNewInstance = \catcher\library\client\Http::class; + protected static $alwaysNewInstance = true; + + protected static function getFacadeClass() + { + return \catcher\library\client\Http::class; + } }