跳至内容
拜哥网API文档
用户工具
注册
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
注册
>
最近更改
媒体管理器
网站地图
您的足迹:
推送接口
====== 推送接口 ====== ------ ===== 1、推送列表 ===== === 接口名称 === pushes/list === 请求方式 === post === 请求参数 === ^ 参数名称 ^ 参数类型 ^ 是否必填 ^ 说明 ^ | memberId| int | 是 | 会员id | |noticeType|string|否|消息类型:systemPush 系统 ,logisticsInfo :物流消息,others其他推送信息,spread佣金接口| |pageSize|int|否|每页数量 默认为50| |page|int|否|页数| === 返回值 === ^ 名称 ^ 类型 ^ 说明 ^ | items| data| 数据 | | _links| data| 分页信息 | | _meta| data| 查询数据信息 | === items数据说明 === ^ 名称 ^ 类型 ^ 说明 ^ | notice_type| string| 类型| | member_id| int| 会员ID | |send_time|string|添加时间| |is_read|int|是否已读| |message|string|内容| |title|string|标题| |extra|string|额外信息 type类型:(1 外链 2 会议 3 讲师 4 场地 【 'teacher_invite':邀请讲师 ,'space_invite':邀请场地 'meeting_online':会议上线通知,'teacher_auth_succ':讲师审核成功,'teacher_auth_false':讲师审核失败,'shop_auth_succ':网店审核成功,'shop_auth_false':网店审核失败,'smrz_auth_succ':实名认证成功,'smrzr_auth_succ':实名认证失败 ,‘space_auth_succ’:场地审核成功,‘space_auth_false’:‘场地审核失败’ ,‘teacher_invite_succ’:'讲师同意邀请',‘space_invite_succ’:'场地同意邀请' ,‘orderBack’订单返现 ,'registerBack'注册返现】 'convertible_remind' 【兑换提醒】) jump:跳转内容 pic 图片| |orderInfo|array|<code> [orderInfo] => Array ( [id] => 255 订单id [buycount] => 1 订单购买数量 [product_name] => aaaaaa [pic] => http://pic.8dage.net/data/uploadfile/images/1/20160606/68c9f3456e.jpg [status] => 2 订单状态 [expressType] => 128 快递id [expressCode] => 123456789 快递编号 [expressName] => 韵达快递 ) </code>| ===== 2、设置已读 ===== === 接口名称 === pushes/set-read === 请求方式 === post === 请求参数 === ^ 参数名称 ^ 参数类型 ^ 是否必填 ^ 说明 ^ | memberId| int| 是 |会员id | | pushIds| string| 是| 未读推送的id组合| === 返回值 === ^ 名称 ^ 类型 ^ 说明 ^ | result | bool | 返回结果 success 成功 error 失败 | | message| string | 返回信息 | ===== 3、返回最新的单条 ===== === 接口名称 === pushes/get-news === 请求方式 === post === 请求参数 === ^ 参数名称 ^ 参数类型 ^ 是否必填 ^ 说明 ^ | memberId| int| 是 |会员id | === 返回值 === ^ 名称 ^ 类型 ^ 说明 ^ | result | bool | 返回结果 success 成功 error 失败 | | message| string | 返回信息 | | data| json | 返回信息
推送接口.txt
· 最后更改: 2017/06/01 13:59 (外部编辑)
页面工具
显示页面
修订记录
反向链接
回到顶部