singal offline push

This commit is contained in:
wangchuxiao 2022-06-06 10:22:42 +08:00
parent cfe0272022
commit a647007a0f

View File

@ -129,6 +129,7 @@ func MsgToUser(pushMsg *pbPush.PushMsgReq) {
}
log.NewInfo(pushMsg.OperationID, utils.GetSelfFuncName(), "opts:", opts)
pushResult, err := offlinePusher.Push(UIDList, content, jsonCustomContent, pushMsg.OperationID, opts)
log.NewDebug(pushMsg.OperationID, utils.GetSelfFuncName(), "offline pushResult: ", pushResult)
if err != nil {
log.NewError(pushMsg.OperationID, "offline push error", pushMsg.String(), err.Error())
} else {