打印了签名时间戳1
This commit is contained in:
parent
f044361488
commit
87b80ed391
@ -41,7 +41,7 @@ func VerifySignature(paramsMap map[string]interface{}, receivedTimestamp, receiv
|
|||||||
return errors.New("签名错误")
|
return errors.New("签名错误")
|
||||||
}
|
}
|
||||||
|
|
||||||
if currentTime-timestamp > 300 {
|
if currentTime-timestamp > 1500 {
|
||||||
return errors.New("签名超时")
|
return errors.New("签名超时")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user