Commit d28f4922 by levphon

新增位置点验证接口

1 parent ed57f37a
...@@ -49,31 +49,31 @@ public class GpsBsServiceFallbackImpl implements GpsBsFeignService { ...@@ -49,31 +49,31 @@ public class GpsBsServiceFallbackImpl implements GpsBsFeignService {
@Override @Override
public R<List<DeviceLocationDTO>> listDeviceMonitorInfo(String sns, String deviceCode) { public R<List<DeviceLocationDTO>> listDeviceMonitorInfo(String sns, String deviceCode) {
log.info("listDeviceMonitorInfo 熔断啦==={}", cause.getMessage()); log.info("listDeviceMonitorInfo 熔断啦==={}", cause.getMessage());
return R.ok("无数据"); return R.error("无数据");
} }
@Override @Override
public R getLastGpsBsBatch(GpsBsLastBatchRequest gpsBsLastBatchRequest) { public R getLastGpsBsBatch(GpsBsLastBatchRequest gpsBsLastBatchRequest) {
log.info("getLastGpsBsBatch 熔断啦==={}", cause.getMessage()); log.info("getLastGpsBsBatch 熔断啦==={}", cause.getMessage());
return R.ok("无数据"); return R.error("无数据");
} }
@Override @Override
public R<List<GpsBsData>> locationCheck(DeviceLocationRequest deviceLocationRequest) { public R<List<GpsBsData>> locationCheck(DeviceLocationRequest deviceLocationRequest) {
log.info("check 熔断啦==={}", cause.getMessage()); log.info("check 熔断啦==={}", cause.getMessage());
return R.ok("无数据"); return R.error("无数据");
} }
@Override @Override
public R getLastGpsBsBySn(String sn, String deviceCode) { public R getLastGpsBsBySn(String sn, String deviceCode) {
log.info("getLastGpsBsBySn 熔断啦==={}", cause.getMessage()); log.info("getLastGpsBsBySn 熔断啦==={}", cause.getMessage());
return R.ok("无数据"); return R.error("无数据");
} }
@Override @Override
public R<List<GpsLocation>> getLastGpsBsHistoryBySn(LocationHistoryRequest request) { public R<List<GpsLocation>> getLastGpsBsHistoryBySn(LocationHistoryRequest request) {
log.info("getLastGpsBsHistoryBySn 熔断啦==={}", cause.getMessage()); log.info("getLastGpsBsHistoryBySn 熔断啦==={}", cause.getMessage());
return R.ok("无数据"); return R.error("无数据");
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!