mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-10 04:59:01 +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")
|
return "", utils.Wrap(err, "GetTaskIDAndSave2Redis failed")
|
||||||
}
|
}
|
||||||
pushReq = PushReq{Audience: &Audience{Alias: userIDList}}
|
pushReq = PushReq{Audience: &Audience{Alias: userIDList}}
|
||||||
var IsAsync = false
|
var IsAsync = true
|
||||||
pushReq.IsAsync = &IsAsync
|
pushReq.IsAsync = &IsAsync
|
||||||
pushReq.Taskid = &taskID
|
pushReq.Taskid = &taskID
|
||||||
err = g.request(BatchPushURL, pushReq, token, &pushResp, operationID)
|
err = g.request(BatchPushURL, pushReq, token, &pushResp, operationID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user