简要描述
请求url
- https://www.商城域名.com/index.php?s=/api/order/todoCounts
请求方式
是否需授权登录
请求header
| 参数名 | 类型 | 是否必须 | 示例值 | 说明 | 
| storeId | int | 必填 | 10001 | 商城ID | 
| platform | string | 必填 | H5 | 当前请求的客户端(APP、小程序、H5等) | 
| Access-Token | string | 选填 | - | 当前登录用户的 Token | 
返回示例
{
  "status": 200,
  "message": "success",
  "data": {
    "counts": {
      "payment": 3,
      "delivery": 2,
      "received": 8,
      "refund": 2
    }
  }
}
返回参数
| 参数名 | 类型 | 示例值 | 说明 | 
| status | int | 200 | 请求状态(200:请求成功;500:请求错误/失败) | 
| message | string | success | 请求结果的信息,默认为 success | 
| data | object | - | 返回的业务数据 | 
data 参数
| 参数名 | 类型 | 示例值 | 说明 | 
| counts | object | - | - | 
data.counts 参数
| 参数名 | 类型 | 示例值 | 说明 | 
| payment | int | 3 | 待支付的订单数量 | 
| delivery | int | 2 | 待发货的订单数量 | 
| received | int | 8 | 待收货的订单数量 | 
| refund | int | 2 | 售后中订单数量 |