From 68a8f3dfea78c3616ae31f6801969649b2d33da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Wed, 6 Jul 2016 10:15:35 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E6=8E=A5=E6=94=B6=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=B8=8E=E5=9B=9E=E5=A4=8D=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 接收消息与回复.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/接收消息与回复.md b/接收消息与回复.md index 64dd585..ab70d5e 100644 --- a/接收消息与回复.md +++ b/接收消息与回复.md @@ -21,9 +21,9 @@ $server = new Server($appId, $token, $encodingAESKey); #### 语法: ```php -$wechat->on('message', callable $callback); // 全部类型 +$server->on('message', callable $callback); // 全部类型 // or -$wechat->on('message', string $messageType, callable $callback); // 只监听指定类型 +$server->on('message', string $messageType, callable $callback); // 只监听指定类型 ``` #### 参数说明: