ls il y a 5 ans
Parent
commit
2029253afb
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      wechat/request.go

+ 2 - 0
wechat/request.go

@@ -5,11 +5,13 @@ import (
 	"encoding/json"
 	"encoding/xml"
 	"errors"
+	"fmt"
 
 	"git.chuangxin1.com/cx/myth"
 )
 
 func checkJSONError(msg myth.HTTPMessage) (jq *myth.JSONQuery, err error) {
+	fmt.Println(msg.StatusCode, string(msg.Body))
 	if msg.StatusCode == 200 {
 		jq, err = msg.JSONQuery()
 		if err != nil {