test-errcode
wangchuxiao 2 years ago
parent 7445b84756
commit 428e5a7a4e

@ -168,6 +168,9 @@ func (g *Getui) Push(userIDList []string, title, detailContent, operationID stri
var IsAsync = true
pushReq.IsAsync = &IsAsync
pushReq.Taskid = &taskID
pushReq.Audience = struct {
Alias []string `json:"alias"`
}{Alias: userIDList}
err = g.request(BatchPushURL, pushReq, token, &pushResp, operationID)
} else {
reqID := utils.OperationIDGenerator()

Loading…
Cancel
Save