From ef86a3e716fdc54cb4f9ec505c30d1bc664af789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Thu, 16 Jun 2016 17:47:04 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/接收消息与回复.md b/接收消息与回复.md index 3788718..64dd585 100644 --- a/接收消息与回复.md +++ b/接收消息与回复.md @@ -51,6 +51,7 @@ $server = new Server($appId, $token, $encodingAESKey); // 监听所有类型 $server->on('message', function($message) { + // 获取用户openId: $openId = $message->FromUserName; return Message::make('text')->content('您好!'); });