Changes between Version 15 and Version 16 of doc/interface/platform
- Timestamp:
- 06/20/2012 10:19:01 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/interface/platform
v15 v16 5 5 接口地址: 6 6 {{{ 7 http://pns.imofan.com/re gister7 http://pns.imofan.com/receiver/register 8 8 }}} 9 9 … … 37 37 接口地址: 38 38 {{{ 39 http://pns.imofan.com/ 39 http://pns.imofan.com/app/token 40 40 }}} 41 41 … … 63 63 ||token||推送平台分配给该客户端的推送Token,仅当stat==-1时,返回值为|| 64 64 ||info||包含额外的说明信息,用于stat为-1时平台所给的错误提示|| 65 66 67 == 消息推送接口 == 68 69 接口地址: 70 {{{ 71 http://pns.imofan.com/sender/push 72 }}} 73 74 接口请求参数定义: 75 ||参数名||说明|| 76 ||appkey||应用的唯一标识id,由魔方系统生成|| 77 ||token||推送平台分配给该客户端的推送Token|| 78 ||message||要推送的消息|| 79 80 注意: 81 * 参数必须用POST方式提交 82 83 接口响应JSON格式定义: 84 {{{ 85 { 86 "stat": 1, 87 "info": "分配token失败时的额外信息" 88 } 89 }}} 90 91 返回值定义: 92 ||返回值||说明|| 93 ||stat||取值为:1 推送成功,-1 推送失败|| 94 ||info||包含额外的说明信息,用于stat为-1时平台所给的错误提示||
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)