设备运维

重启、清空记录、启用/停用等下行指令。

重启

POST /Device/reboot Base: http://<设备IP>:18082

Body 可空。成功后设备即将重启。

清空消费记录

POST /Device/clearRecords Base: http://<设备IP>:18082
字段类型说明
include_offlinenumber1 同时清空未上报离线流水

启用/停用

POST /Device/setEnabled Base: http://<设备IP>:18082
字段类型必填说明
enabledboolean|string是true/false 或 1/0

enabled=1 启用,enabled=0 停用。停用后设备不再发起在线消费/充值上行。