|
|
@ -42,7 +42,7 @@ func (j *JPush) Push(accounts []string, alert, detailContent, operationID string
|
|
|
|
var me requestBody.Message
|
|
|
|
var me requestBody.Message
|
|
|
|
me.SetMsgContent(detailContent)
|
|
|
|
me.SetMsgContent(detailContent)
|
|
|
|
var o requestBody.Options
|
|
|
|
var o requestBody.Options
|
|
|
|
o.SetApnsProduction(false)
|
|
|
|
o.SetApnsProduction(config.Config.IOSPush.Production)
|
|
|
|
var po requestBody.PushObj
|
|
|
|
var po requestBody.PushObj
|
|
|
|
po.SetPlatform(&pf)
|
|
|
|
po.SetPlatform(&pf)
|
|
|
|
po.SetAudience(&au)
|
|
|
|
po.SetAudience(&au)
|
|
|
|