From 941de52fe6345580459446c2f6ea3ec5804cd149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Wed, 20 Mar 2024 18:18:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2a07581a..e6c30fa13 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ $config = [ $app = new Application($config); -$app->getServer()->with(fn() => "您好!EasyWeChat!"); +$server = $app->getServer(); + +$server->with(fn() => "您好!EasyWeChat!"); $response = $server->serve(); ```