作者 yangfu

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

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