|
|
@@ -105,6 +105,7 @@ public class DevicePingInfoService extends SuperService {
|
|
|
public ResultContent<Object> ping(String dataId, String dataStr) {
|
|
|
PingResult pingResult = new PingResult();
|
|
|
GateWayPingInfoParam param = JSONUtil.toBean(dataStr, GateWayPingInfoParam.class);
|
|
|
+
|
|
|
if (StringUtils.isNotEmpty(param.getDeviceId())) {
|
|
|
devicePing(dataId, dataStr);
|
|
|
} else if (StringUtils.isNotEmpty(param.getGateWayId())) {
|