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