扩大了签名超市时间1
This commit is contained in:
parent
556ad55fc2
commit
e59343e579
@ -34,8 +34,6 @@ func VerifySignature(paramsMap map[string]interface{}, receivedTimestamp, receiv
|
||||
currentTime := time.Now().Unix() * 1000
|
||||
|
||||
timestamp, err := strconv.ParseInt(receivedTimestamp, 10, 64)
|
||||
fmt.Println(currentTime)
|
||||
fmt.Println(timestamp)
|
||||
|
||||
if err != nil {
|
||||
return errors.New("签名错误")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user