1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-07 14:12:27 +08:00

支持文本消息的回复

This commit is contained in:
wenzl
2016-09-11 00:27:37 +08:00
parent e713b4ffb2
commit 33f2b2ef60
10 changed files with 403 additions and 96 deletions

View File

@@ -17,12 +17,6 @@ func (ctx *Context) getAccessToken() {
}
func (ctx *Context) String(str string) error {
ctx.Writer.WriteHeader(200)
_, err := ctx.Writer.Write([]byte(str))
return err
}
// Query returns the keyed url query value if it exists
func (ctx *Context) Query(key string) string {
value, _ := ctx.GetQuery(key)