文档
测试

营业收入详情(营业收入下级页面)

POST
/api/restaurant_machine/index/businessincomedetail

请求头

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

请求示例

``` { "type":4,//类型 1 本日 2 本周 3 本月 4 本年 必传 "chooseLevelId":1, // 选中的ID 必传 "chooseLevel":1 //选中的级别 必传 }

说明 / 示例

``` { "total": 0, "code": 0, "data": { "businessIncome": 3209.7,//营业收入 "turnover": 2772.0, //营业额 "memberConsumption": 162.3, // 充值消费 "memberPrepaid": 700.0, //会员充值 "giving": 100.0, //赠送 "payType": [ { "paymentMethod": "支付宝", //收款方式 1 支付宝 2微信 3现金 4微信 "proportion": "46.62%", //百分比 "orderCount": 9, //订单数 "totalPrice": 1292.2 //总计金额 }, { "paymentMethod": "微信", "proportion": "27.32%", "orderCount": 2, "totalPrice": 757.2 }, { "paymentMethod": "现金", "proportion": "2.16%", "orderCount": 2, "totalPrice": 60.0 }, { "paymentMethod": "会员", "proportion": "23.90%", "orderCount": 2, "totalPrice": 662.6 } ] }, "message": "success" }