From 361ad4538f41eb9b2e1e9ac02f712ee56d4c88c2 Mon Sep 17 00:00:00 2001 From: xl Date: Tue, 18 Jul 2023 00:19:13 +0800 Subject: [PATCH] Default Changelist --- wchat/common/Config.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wchat/common/Config.php b/wchat/common/Config.php index 3023aa9..3e40e75 100644 --- a/wchat/common/Config.php +++ b/wchat/common/Config.php @@ -536,7 +536,16 @@ class Config $this->usrSwoole = $usrSwoole; } - /** + + /** + * @param array $configs + */ + public function __construct(array $configs) + { + $this->setConfigs($configs); + } + + /** * @param array $configs * @return $this */