ls 5 anni fa
parent
commit
2029253afb
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 {