获取无卡打水消费总额
1. 发起授权请求
请求路由:
route=plugin.yz-supply-water-machine.frontend.consumer.without-card.getAmount
请求参数说明:
| 参数名 | 类型 | 是否必需 | 说明 |
|---|---|---|---|
| time | string | 是 | YYYY-MM-DD 或 YYYY-MM |
| device_no | string | 是 | 设备号 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"total_amount": "0.00", //扫码金额
"swipe_card_amount": "10.11" //刷卡金额
}
}