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); // 只监听指定类型 ``` #### 参数说明: