diff --git a/api/suixing/index.go b/api/suixing/index.go index a14a929..bc9b936 100644 --- a/api/suixing/index.go +++ b/api/suixing/index.go @@ -10,6 +10,7 @@ import ( "insure/third_party/signer" "insure/third_party/suixing" "insure/utils" + "io" "net/http" "strconv" "strings" @@ -23,7 +24,10 @@ func Create(c *gin.Context) { "msg": "成功", "data": data, } - + body, _ := io.ReadAll(c.Request.Body) + if body != nil { + fmt.Printf("body:%s\n", body) + } var param suixing.CommonParam err := c.ShouldBindJSON(¶m) if err != nil {