service/msgPush.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
service/msgPush.go
@@ -264,11 +264,13 @@ if len(aliasArr) == 0 { fmt.Println("没有推送目标,aliasArr is empty") return true, nil } else { fmt.Println("PushByAlias arr:", aliasArr) } cResult, taskId, ce := createPushMsg(title, msg) fmt.Println("createPushMsg taskId:", taskId, "cResult:",cResult, "err:", ce) if !cResult { fmt.Println("createPushMsg taskId:", taskId, "err:", ce) return false, errors.New("创建推送前置消息失败") } @@ -286,7 +288,7 @@ "alias": aliasArr, }, "taskid": taskId, "is_async": true, "is_async": false, } header := map[string]string { "token": token,