Commit 9ed8b4de by 黄小葱

删除测试代码

1 parent 3afa8335
......@@ -5,11 +5,9 @@ import cn.com.glsx.devicemonitor.api.dto.response.DeviceStatusModel;
import cn.com.glsx.devicemonitor.api.feign.factory.DeviceServiceFallbackFactory;
import com.glsx.plat.core.web.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.validation.constraints.NotBlank;
/**
* 设备查询相关服务
......
......@@ -39,8 +39,6 @@ public interface GpsBsService {
@GetMapping(value = "/devicemonitorinfo")
R<List<DeviceLocationBo>> listDeviceMonitorInfo(@RequestParam(value = "sns") String sns, @RequestParam(value = "deviceCode") String deviceCode);
@GetMapping(value = "/devicemonitorinfo2")
R<List<DeviceLocationBo>> listDeviceMonitorInfo2(DeviceLocationRequest request);
/**
* 通过设备号批量查询 设备位置信息
......@@ -58,7 +56,7 @@ public interface GpsBsService {
* @param deviceCode
* @return
*/
@GetMapping(value = "/single", consumes = MediaType.APPLICATION_JSON_VALUE)
@GetMapping(value = "/single")
R<GpsBsData> getLastGpsBsBySn(@RequestParam(value = "sn") String sn, @RequestParam(value = "deviceCode") String deviceCode);
/**
......@@ -67,7 +65,7 @@ public interface GpsBsService {
* @param request
* @return
*/
@GetMapping(value = "/single/history", consumes = MediaType.APPLICATION_JSON_VALUE)
@GetMapping(value = "/single/history")
R<List<GpsLocation>> getLastGpsBsHistoryBySn(LocationHistoryRequest request);
}
......@@ -52,12 +52,6 @@ public class GpsBsServiceFallbackImpl implements GpsBsService {
}
@Override
public R<List<DeviceLocationBo>> listDeviceMonitorInfo2(DeviceLocationRequest request) {
log.info("listDeviceMonitorInfo2 熔断啦==={}", cause.getMessage());
return R.ok("无数据");
}
@Override
public R getLastGpsBsBatch(GpsBsLastBatchRequest gpsBsLastBatchRequest) {
log.info("getLastGpsBsBatch 熔断啦==={}", cause.getMessage());
return R.ok("无数据");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!