fix(push): push content with jpush (#2844)

* fix(push): push content with jpush

* docs: fix push enable example value

* fix(push): jpush error response
This commit is contained in:
yoyoIU
2024-11-18 16:25:46 +08:00
committed by GitHub
parent e0284724b5
commit 8471a0ef3b
5 changed files with 49 additions and 27 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func (o *OfflinePushConsumerHandler) getOfflinePushInfos(msg *sdkws.MsgData) (ti
IsAtSelf bool `json:"isAtSelf"`
}
opts = &options.Opts{Signal: &options.Signal{}}
opts = &options.Opts{Signal: &options.Signal{ClientMsgID: msg.ClientMsgID}}
if msg.OfflinePushInfo != nil {
opts.IOSBadgeCount = msg.OfflinePushInfo.IOSBadgeCount
opts.IOSPushSound = msg.OfflinePushInfo.IOSPushSound