文档
测试

订单统计数据

GET
/api/order/data

接口描述

个人中心,订单信息

请求头

参数名
类型
描述
必填
Authorization
token
必填

说明 / 示例

返回数据 { "status": 200, "success": true, "msg": "操作成功", "data": { "orderCount": 14, "sumPrice": 112.0, "unpaidCount": 0, "unshippedCount": 13, "receivedCount": 1, "evaluatedCount": 0, "completeCount": 0, "refundCount": 0 }, "time": "2020-10-05 15:23:41" } ompleteCount 订单已完成数量 integer(int32) evaluatedCount 订单待评价数量 integer(int32) orderCount 订单支付没有退款数量 integer(int32) receivedCount 订单待收货数量 integer(int32) refundCount 订单退款数量 integer(int32) sumPrice 订单支付没有退款支付总金额 number(double) unpaidCount 订单待支付数量 integer(int32) unshippedCount 订单待发货数量 integer(int32)