mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 06:19:20 +08:00
jpush add config for ios env mode
This commit is contained in:
committed by
Xinwei Xiong(cubxxw-openim)
parent
315fc6024e
commit
dec96cd429
@@ -42,7 +42,7 @@ func (j *JPush) Push(accounts []string, alert, detailContent, operationID string
|
||||
var me requestBody.Message
|
||||
me.SetMsgContent(detailContent)
|
||||
var o requestBody.Options
|
||||
o.SetApnsProduction(false)
|
||||
o.SetApnsProduction(config.Config.IOSPush.Production)
|
||||
var po requestBody.PushObj
|
||||
po.SetPlatform(&pf)
|
||||
po.SetAudience(&au)
|
||||
|
||||
Reference in New Issue
Block a user