send msg file modify

This commit is contained in:
Gordon
2021-12-23 19:50:04 +08:00
parent ba249d294e
commit 33ae9dae0a
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -93,6 +93,10 @@ func MsgToUser(pushMsg *pbPush.PushMsgReq) {
default:
content = constant.ContentType2PushContent[constant.Common]
}
if pushMsg.MsgData.OfflinePushInfo != nil {
content = pushMsg.MsgData.OfflinePushInfo.Title
}
pushResult, err := push.JGAccountListPush(UIDList, content, jsonCustomContent, constant.PlatformIDToName(t))
if err != nil {
log.NewError(pushMsg.OperationID, "offline push error", pushMsg.String(), err.Error(), constant.PlatformIDToName(t))