====== 推送接口 ====== ------ ===== 1、推送列表 ===== === 接口名称 === notices/list === 请求方式 === get === 请求参数 === ^ 参数名称 ^ 参数类型 ^ 是否必填 ^ 说明 ^ | memberId| int | 是 | 会员id | |noticeType|string|否|消息类型:systemPush 系统 ,logisticsInfo :物流消息| |pageSize|int|否|每页数量 默认为50| |page|int|否|页数| === 返回值 === ^ 名称 ^ 类型 ^ 说明 ^ | items| data| 数据 | | _links| data| 分页信息 | | _meta| data| 查询数据信息 | === items数据说明 === ^ 名称 ^ 类型 ^ 说明 ^ | notice_type| string| 类型| | member_id| int| 会员ID | |addtime|string|添加时间| |app_time|string|发送时间| |add_time|string|添加时间| |message|string|内容| |title|string|标题| |extra|string|额外信息 type类型:(1 外链 2 产品详情 3 店铺页 4 商品类别页 5品牌id) jump:跳转内容 pic 图片| |orderInfo|array| [orderInfo] => Array ( [id] => 255 订单id [quantity] => 1 订单购买数量 [product_name] => 隆力奇水动力紧肤水120ml收缩毛孔紧致肌肤补水保湿爽肤水化妆水 [pic1] => http://pic.8dage.net/data/uploadfile/images/1/20160606/68c9f3456e.jpg [status] => 2 订单状态 [expressType] => 128 快递id [expressCode] => 123456789 快递编号 [expressName] => 韵达快递 ) | ===== 2、设置已读 ===== === 接口名称 === notices/set-read === 请求方式 === post === 请求参数 === ^ 参数名称 ^ 参数类型 ^ 是否必填 ^ 说明 ^ | memberId| int| 是 |会员id | | noticeType| string| 是| 类型| === 返回值 === ^ 名称 ^ 类型 ^ 说明 ^ | result | bool | 返回结果 success 成功 error 失败 | | message| string | 返回信息 |