用户工具

站点工具


侧边栏

推送接口

推送接口


1、推送列表

接口名称

push/list

请求方式

get

请求参数

参数名称 参数类型 是否必填 说明
memberId int 会员id
noticeTypestring消息类型:systemPush 系统 ,logisticsInfo :物流消息
pageSizeint每页数量 默认为50
pageint页数

返回值

名称 类型 说明
items data 数据
_links data 分页信息
_meta data 查询数据信息

items数据说明

名称 类型 说明
notice_type string 类型
member_id int 会员ID
send_timestring添加时间
is_readint是否已读
messagestring内容
titlestring标题
extrastring额外信息 type类型:(1 外链 2 会议 3 讲师 4 场地) jump:跳转内容 pic 图片
orderInfoarray
 [orderInfo] => Array
                        (
                            [id] => 255   订单id
                            [buycount] => 1   订单购买数量
                            [product_name] =>  aaaaaa
                            [pic] => http://pic.8dage.net/data/uploadfile/images/1/20160606/68c9f3456e.jpg
                            [status] => 2  订单状态 
                            [express] => 128  快递id
                            [express_code] => 123456789  快递编号
                            [express_name] => 韵达快递
                        )

2、设置已读

接口名称

  push/set-read

请求方式

post

请求参数

参数名称 参数类型 是否必填 说明
memberId int会员id
noticeType string 类型

返回值

名称 类型 说明
result bool 返回结果 success 成功 error 失败
message string 返回信息
推送接口.1476927322.txt.gz · 最后更改: 2017/06/01 13:58 (外部编辑)