dengbiao 2 days ago
parent
commit
557e356aba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/lib/aes/check.go

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

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


Loading…
Cancel
Save