From 557e356abad9a4d51d2e2f3af1ae9d3fdf3c7961 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 26 Dec 2024 23:17:49 +0800 Subject: [PATCH] 1 --- app/lib/aes/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/aes/check.go b/app/lib/aes/check.go index 707dbc5..40112ad 100644 --- a/app/lib/aes/check.go +++ b/app/lib/aes/check.go @@ -81,7 +81,7 @@ func CheckSign(c *gin.Context) error { //TODO::兼容客户端传毫秒 currentTimestamp = time.Now().UnixMilli() if currentTimestamp-storedTimestamp > 60*2*1000 { // 2分钟 - return fmt.Errorf("签名过期!") + return fmt.Errorf("签名过期~") } } else { if currentTimestamp-storedTimestamp > 60*2 { // 2分钟