Open zuoRambo opened 4 years ago
We used the master version but response body was Chinese garbled.
Chinese garbled
main.go
r := gin.Default() r.Use(gzip.Gzip(gzip.DefaultCompression))
response body
{"errno":101000,"msg":"å‚数缺失 Key: 'RequestCommentInfo.ItemID' Error:Field validation for 'ItemID' failed on the 'required' tag"}
You should decode response body if Conetent-Encoding equals gzip
Conetent-Encoding
gzip
We used the master version but response body was
Chinese garbled
.main.go
response body