用户工具

站点工具


侧边栏

推送

推送接口


1、推送列表

接口名称

notices/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
addtimestring添加时间
app_timestring发送时间
add_timestring添加时间
messagestring内容
titlestring标题
extrastring额外信息
orderInfoarray
 [orderInfo] => Array
                        (
                            [id] => 255
                            [quantity] => 1
                            [product_name] => 隆力奇水动力紧肤水120ml收缩毛孔紧致肌肤补水保湿爽肤水化妆水
                            [pic1] => http://pic.8dage.net/data/uploadfile/images/1/20160606/68c9f3456e.jpg
                            [status] => 2
                            [expressType] => 128
                            [expressCode] => 123456789
                            [expressName] => 韵达快递
                        )

2、添加聊天

接口名称

  notices/set-read

请求方式

post

请求参数

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

返回值

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