|
|
@ -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(¶m)
|
|
|
|
err := c.ShouldBindJSON(¶m)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|