|
@@ -35,6 +35,7 @@ func CheckSign(c *gin.Context) error { |
|
|
} else { |
|
|
} else { |
|
|
body, _ := ioutil.ReadAll(c.Request.Body) |
|
|
body, _ := ioutil.ReadAll(c.Request.Body) |
|
|
if string(body) != "" { |
|
|
if string(body) != "" { |
|
|
|
|
|
fmt.Println("body:" + string(body)) |
|
|
str, err := AesDecryptByECB(md.AesKey, string(body)) |
|
|
str, err := AesDecryptByECB(md.AesKey, string(body)) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return err |
|
|
return err |
|
|