开放平台

扒书 ERP Open API

消息列表

分页查看站内消息:订单通知、系统公告、活动提醒。

请求方式GET/POST
接口路径/api/message/list
Content-Type-
鉴权X-Nideshop-Token

请求参数

参数类型必填位置
curPageInteger是URL 参数

curl 调用

curl -s 'https://www.8shu8.com/api/message/list?curPage=1' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'

响应示例

data 为分页对象,业务数据在 records。

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": {
    "records": [
      "..."
    ],
    "total": 0,
    "size": 10,
    "current": 1,
    "pages": 0
  }
}