ljl 5 months ago
parent dba683c395
commit 45b860f59c

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

Loading…
Cancel
Save