作者 yangfu

1.推送修改 :默认ios通知栏里面只有内容行,不显示标题行,后期需要标题需要 ext里面增加扩展配置

... ... @@ -170,8 +170,8 @@ func NewAps(options *push.Options) (v *Aps) {
}
func NewAlert(options *push.Options) (v *Alert) {
v = &Alert{
Title: options.Title,
Body: options.Content,
//Title: options.Title, //TODO:去掉这个ios通知栏只有内容行,没有标题行,如果后期需要显示这个 需要ext里面扩展字段用来控制是否显示标题
Body: options.Content,
}
return
}
... ...