Changes between Version 26 and Version 27 of magazine_interface


Ignore:
Timestamp:
10/13/2015 06:01:00 PM (11 years ago)
Author:
huzhixiang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • magazine_interface

    v26 v27  
    754754[[http://rdtrac.pc.com.cn/bbs/wiki/intf | 圈子论坛接口介绍:http://rdtrac.pc.com.cn/bbs/wiki/intf]] [[BR]] 
    755755[[http://trac.pc.com.cn/passport | PASSPORT接口介绍:http://trac.pc.com.cn/passport]] [[BR]] 
     756== 8.杂志推送说明 == 
     757杂志推送分为newsstand推送和普通推送两种,其中newsstand推送是杂志类型APP的特权。公司的推送逻辑如下: [[BR]] 
     7581)newsstand推送返回的字典信息: [[BR]] 
     759{{{ 
     760{ 
     761    aps =     { 
     762        alert =         { 
     763            body = "走上海终于买下小房!37.8平神级改造承载着年轻人的打拼梦!点击获取正能量";  ---推送的内容 
     764        }; 
     765        badge = 1; ---出现在App icon右上角的数字 
     766        "content-available" = 1;  ---标识是nsd推送 
     767        sound = default; ---推送的声音类型 
     768    }; 
     769    open = ""; ---nsd推送不填写这个 
     770    time = 17141;  ---魔方推送分配的id 
     771} 
     772}}} 
     7732)普通的文章推送返回的字典信息: [[BR]] 
     774{{{ 
     775{ 
     776    aps =     { 
     777        alert =         { 
     778            body = "走上海终于买下小房!37.8平神级改造承载着年轻人的打拼梦!点击获取正能量"; 
     779        }; 
     780        badge = 1; 
     781        sound = default; 
     782    }; 
     783    open = "pchousemagiphone://magazine/656/article/7707"; ---参数值(~/月刊id/article/文章id) 
     784    time = 17143; 
     785} 
     786}}}