销售管理统计页 测试id默认传3
接口地址:/admin/sale/sale_statistics GET
销售管理统计页 测试id默认传3 -- 请设置auhtor注释
接口说明:销售管理统计页
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| id | 整型 | 非必填 | 1 | - | 销售id |
| start_time | 整型 | 非必填 | - | - | 时间 |
| time | 整型 | 非必填 | - | - | 时间类型 |
| type | 整型 | 非必填 | 1 | - | 类型1顶部 |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
"today":[{//今日订单和业绩
"ordercount":"订单数",
"total":"业绩",
}]
"week":"这周订单和业绩",
"month":"这月订单和业绩",
"last_month":"上月订单和业绩",
"ladder":[{//当前阶梯
"turnover":"当前(没有就默认)last:下一级",
}]
"array":[{//图表
}]
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改