简要描述:
请求域名:
- http://xx.com
请求路由:
POST/&route=plugin.yz-supply-under-sink-machine.frontend.device.device.getLocalDayRechargeList
请求参数说明:
| 参数名 | 类型 | 是否必需 | 说明 |
|---|
|device_id|int|设备id|
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取成功",
"data": {
"list": [
{
"id": 1,
"uniacid": 2,
"order_id": 0,
"order_no": "",
"member_id": 1,
"device_id": 6,
"device_sn": "577900",
"device_imei": "86486508164408100000",
"third_id": 1,
"recharge_days": 10,
"remaining_days": 8,
"before_days": 0,
"after_days": 10,
"valid_days": 365,
"status": 1,
"recharge_type": 5,
"remark": "从会员ID:1 受赠",
"created_at": "2026-03-24 16:49:43",
"updated_at": "2026-03-24 17:20:19",
"deleted_at": null,
"recharge_type_text": "手动充值",
"status_text": "生效中",
"created_at_text": "1970-01-01 08:00:01"
}
],
"total": 1,
"page": 1,
"page_size": 20,
"pageSize": 20
}
}
返回参数说明:
| 参数名 | 类型 | 说明 | |
|---|---|---|---|
| `` |
{
"id": 1, // ID
"uniacid": 2, // 公众号ID
"order_id": 0, // 订单ID
"order_no": "", // 订单号
"member_id": 1, // 机主会员ID
"device_id": 6, // 设备ID
"device_sn": "577900", // 设备SN
"device_imei": "86486508164408100000", // 设备IMEI
"third_id": 1, // 第三方时长充值记录ID
"recharge_days": 10, // 充值天数
"remaining_days": 8, // 剩余天数
"before_days": 0, // 充值前天数
"after_days": 10, // 充值后天数
"valid_days": 365, // 有效期天数
"status": 1, // 状态(1-生效中, 0-未生效等)
"recharge_type": 5, // 充值类型(5-手动充值)
"remark": "从会员ID:1 受赠", // 备注
"created_at": "2026-03-24 16:49:43", // 创建时间
"updated_at": "2026-03-24 17:20:19", // 更新时间
"deleted_at": null // 删除时间
}