Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在获取用户信息是出错 #643

Closed
stevesgit opened this issue Apr 8, 2017 · 2 comments
Closed

在获取用户信息是出错 #643

stevesgit opened this issue Apr 8, 2017 · 2 comments

Comments

@stevesgit
Copy link

stevesgit commented Apr 8, 2017

我用的环境

PHP 版本:7
overtrue/wechat 版本:3.1

问题及现象

本来按照这个demo在线上服务器时都ok,但今天用ngrok服务,做了下本地端口映射,在本地开发
按着官方的demo在消息处理时

$server->setMessageHandler(function($message) use ($user) {
//            $fromUser = $user->get($message->FromUserName); 加这段代码会出错

            return " 您好!欢迎关注 overtrue!";
        });

如果不加这段代码就能发送消息。

描述你的问题现象,报错贴截图粘贴或者贴具体信息,提供必要的代码段

@overtrue
Copy link
Collaborator

overtrue commented Apr 8, 2017

sorry, 你提供的信息并不足以让人能分析出问题所在

@overtrue overtrue closed this as completed Apr 8, 2017
@icoder2013
Copy link

一模一样的问题,请教贴主怎么结局的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants