扩大了签名超市时间
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ func VerifySignature(paramsMap map[string]interface{}, receivedTimestamp, receiv
|
|||||||
return errors.New("签名错误")
|
return errors.New("签名错误")
|
||||||
}
|
}
|
||||||
|
|
||||||
if currentTime-timestamp > 1500 {
|
if currentTime-timestamp > 5000 {
|
||||||
return errors.New("签名超时")
|
return errors.New("签名超时")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user