|
|
@ -73,7 +73,7 @@ func (g *Getui) Push(userIDList []string, alert, detailContent, platform, operat
|
|
|
|
log.NewError(operationID, utils.OperationIDGenerator(), "GetGetuiToken", err.Error())
|
|
|
|
log.NewError(operationID, utils.OperationIDGenerator(), "GetGetuiToken", err.Error())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if token == "" || err != nil {
|
|
|
|
if token == "" || err != nil {
|
|
|
|
token, expireTime, err := g.Auth(+operationID, time.Now().Unix())
|
|
|
|
token, expireTime, err := g.Auth(operationID, time.Now().Unix())
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return "", utils.Wrap(err, "Auth failed")
|
|
|
|
return "", utils.Wrap(err, "Auth failed")
|
|
|
|
}
|
|
|
|
}
|
|
|
|