jpush add config for ios env mode

This commit is contained in:
Gordon
2022-06-21 11:27:39 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent 315fc6024e
commit dec96cd429
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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)