diff --git a/app/mw/mw_check_sign.go b/app/mw/mw_check_sign.go index 0e038df..80d5e40 100644 --- a/app/mw/mw_check_sign.go +++ b/app/mw/mw_check_sign.go @@ -7,6 +7,7 @@ import ( "applet/app/lib/aes/md" "applet/app/utils" "errors" + "fmt" "github.com/gin-gonic/gin" ) @@ -16,6 +17,7 @@ func CheckSign(c *gin.Context) { err := aes.CheckSign(c) if err != nil { if cfg.Prd { + fmt.Println("签名问题:" + err.Error()) e.OutErr(c, 400, errors.New("请求失败~~")) } else { e.OutErr(c, 400, "验签失败: "+err.Error())