huangjiajun 6 days ago
parent
commit
17d18e246b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/lib/aes/check.go

+ 1
- 0
app/lib/aes/check.go View File

@@ -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


Loading…
Cancel
Save