Browse Source

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

csx 3 years ago
parent
commit
2b83a9042e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/jsyb_service.go

+ 1 - 1
service/jsyb_service.go View File

@@ -86,7 +86,7 @@ func HttpRequest(url string, ak string, sk string, timestamp int64, requestByte
86 86
 
87 87
 	//还可以,设置附加的byte[]或者json请求体
88 88
 
89
-	csbHP.SetContentBody("", requestByte)
89
+	csbHP.SetContentBody(json, nil)
90 90
 	//设置请求的ak和sk
91 91
 	csbHP.SetAK(ak)
92 92
 	csbHP.SetSK(sk)