1.推送修改 :默认ios通知栏里面只有内容行,不显示标题行,后期需要标题需要 ext里面增加扩展配置
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论