Commit c79610d5 authored by 赵啸非's avatar 赵啸非

添加离线 上线日志

parent 1e531cdd
......@@ -126,7 +126,7 @@ public class DeviceSendMsgController {
//查询站点设备并通知每个设备
List<DeviceEntity> deviceList = deviceService.find(deviceQuery);
String content = "W10=";
if (ObjectUtils.isEmpty(req.getContent())) {
if (!ObjectUtils.isEmpty(req.getContent())) {
content = Base64.encode(req.getContent());
}
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment