From a16025ca955c7706e8391127b3ad3eef3a2543be Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 8 Apr 2022 17:41:39 +0800 Subject: [PATCH] getui --- internal/push/getui/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/push/getui/push.go b/internal/push/getui/push.go index 040a25d49..d68830a2c 100644 --- a/internal/push/getui/push.go +++ b/internal/push/getui/push.go @@ -78,7 +78,7 @@ func (g *Getui) Push(userIDList []string, alert, detailContent, platform, operat log.NewError(operationID, utils.OperationIDGenerator(), "GetGetuiToken failed", err.Error()) } if token == "" || err != nil { - token, expireTime, err := g.Auth(operationID, time.Now().Unix()) + token, expireTime, err := g.Auth(operationID, time.Now().UnixNano()/1e6) if err != nil { return "", utils.Wrap(err, "Auth failed") }