http客户端新增属性

This commit is contained in:
JaguarJack 2020-07-23 16:43:01 +08:00
parent 263c036e49
commit 8d21dc8acc

View File

@ -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;
}
}