mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-08 03:26:36 +08:00
push
This commit is contained in:
parent
fb72f4b1ae
commit
e8dc5ce085
@ -167,7 +167,7 @@ func (g *Getui) Push(userIDList []string, title, detailContent, operationID stri
|
||||
return "", utils.Wrap(err, "GetTaskIDAndSave2Redis failed")
|
||||
}
|
||||
pushReq = PushReq{Audience: &Audience{Alias: userIDList}}
|
||||
var IsAsync = false
|
||||
var IsAsync = true
|
||||
pushReq.IsAsync = &IsAsync
|
||||
pushReq.Taskid = &taskID
|
||||
err = g.request(BatchPushURL, pushReq, token, &pushResp, operationID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user