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

不成功! #15

Closed
younglucky opened this issue Apr 9, 2014 · 0 comments
Closed

不成功! #15

younglucky opened this issue Apr 9, 2014 · 0 comments

Comments

@younglucky
Copy link

mux := weixin.New("tk_wx_xxx", "", "")
mux.HandleFunc(weixin.MsgTypeText, Echo)
http.Handle("/wx/signature", mux)

func Echo(w weixin.ResponseWriter, r *weixin.Request) {
txt := r.Content // 获取用户发送的消息
w.ReplyText(txt) // 回复一条文本消息
w.PostText("Post:" + txt) // 发送一条文本消息
}

我的这个地址 会报404错误

@wizjin wizjin closed this as completed Sep 5, 2018
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