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

获取订阅好或者公众号,消息类型为49提示 [W] no handlers for key [49] #25

Closed
owen-gxz opened this issue Sep 5, 2017 · 2 comments

Comments

@owen-gxz
Copy link

owen-gxz commented Sep 5, 2017

session.HandlerRegister.Add(wxweb.MSG_LINK, wxweb.Handler(demo), "textdemo")

func demo(session *wxweb.Session, msg *wxweb.ReceivedMessage) {
fmt.Println(fmt.Sprintf("%v", msg.Content))
fmt.Println(fmt.Sprintf("%#v", msg))
}

@owen-gxz owen-gxz closed this as completed Sep 5, 2017
@songtianyi
Copy link
Owner

还有问题不?

@owen-gxz
Copy link
Author

owen-gxz commented Sep 5, 2017

可以的..没有问题

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

2 participants