mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-08 14:42:26 +08:00
oauth2,jssdk
This commit is contained in:
@@ -10,6 +10,8 @@ var plainContentType = []string{"text/plain; charset=utf-8"}
|
||||
|
||||
//Render render from bytes
|
||||
func (ctx *Context) Render(bytes []byte) {
|
||||
//debug
|
||||
//fmt.Println("response msg = ", string(bytes))
|
||||
ctx.Writer.WriteHeader(200)
|
||||
_, err := ctx.Writer.Write(bytes)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user