统计每个月该业务员的品牌交易情况 websocket测试 POST http://[ip]:[port]/app/salesman/statistics 接口描述 统计每个月该业务员的品牌交易额以及订单数量 请求参数 参数名 类型 描述 必填 storeId int 店铺Id 必填 brandInfoVos array 该业务员管理的品牌列表 必填 id int 示例:1 必填 brandName string 示例:三星电视 必填 have boolean 示例:false 必填 响应参数 参数名 类型 描述 必填 total int 示例:2 必填 rows array 数据列表 必填 salesYear string 月份 必填 salesMonth string 月份 必填 totalMoney int 交易额 必填 goodsClick int 浏览数 必填 orderNumber int 订单交易数 必填 code int 示例:200 必填 msg string 示例:查询成功 必填 请求示例 ``` { "storeId":11, "brandInfoVos":[ { "id": 1, "brandName": "三星电视", "have": false } ] } ``` 响应示例 ``` { "total": 2, "rows": [ { "salesYear": "2020年10月", "salesMonth": "10", "totalMoney": 708.0, "goodsClick": 3144, "orderNumber": 4 }, { "salesYear": "2020年9月", "salesMonth": "9", "totalMoney": 0.0, "goodsClick": 1572, "orderNumber": 2 } ], "code": 200, "msg": "查询成功" } ```
``` { "total": 2, "rows": [ { "salesYear": "2020年10月", "salesMonth": "10", "totalMoney": 708.0, "goodsClick": 3144, "orderNumber": 4 }, { "salesYear": "2020年9月", "salesMonth": "9", "totalMoney": 0.0, "goodsClick": 1572, "orderNumber": 2 } ], "code": 200, "msg": "查询成功" } ```