|
|
@@ -133,8 +133,8 @@ public class DevicePingInfoService extends SuperService {
|
|
|
updateDeviceOnLine(gateWayInfo.getGateWayId(), gateWayInfo.getGateWayName(), OnLineDeviceType.GateWay);
|
|
|
}
|
|
|
} else {
|
|
|
- pingResult.setFailed("");
|
|
|
- return ResultContent.buildFail("ping设备不存在");
|
|
|
+ pingResult.setFailed("ping设备不存在");
|
|
|
+ return ResultContent.buildSuccess(pingResult);
|
|
|
}
|
|
|
pingResult.setSuccess();
|
|
|
pingResult.setTime(System.currentTimeMillis());
|