Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
b2aedeaf41
1 changed files with 3 additions and 0 deletions
  1. 3 0
      utils/csbhttp/httpparams.go

+ 3 - 0
utils/csbhttp/httpparams.go View File

@@ -107,6 +107,9 @@ func (hp *HttpParams) AddHeader(key string, value string) *HttpParams {
107 107
 }
108 108
 
109 109
 func (hp *HttpParams) SetContentBody(jsonStr string, byteArr []byte) error {
110
+	fmt.Println("JSON22222")
111
+	fmt.Println(jsonStr)
112
+	fmt.Println(byteArr)
110 113
 	if jsonStr != "" && byteArr != nil {
111 114
 		errRtn := HttpCallerException{Message: "can not set jsonStr and byteArr parameters together!"}
112 115
 		return errRtn