From 53f0ed32bd5aa2fda134a8f1cb71892570d1f1f6 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 16 Dec 2024 17:03:44 +0800 Subject: [PATCH] test --- app/mw/mw_check_sign.go | 2 ++ 1 file changed, 2 insertions(+) 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())