mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-07 14:12:27 +08:00
支持文本消息的回复
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user