Commit ed57f37a by levphon

新增位置点验证接口

1 parent a004a474
......@@ -55,7 +55,7 @@ public interface GpsBsFeignService {
* @return
*/
@PostMapping(value = "/check", consumes = MediaType.APPLICATION_JSON_VALUE)
R<List<GpsBsData>> check(@RequestBody DeviceLocationRequest deviceLocationRequest);
R<List<GpsBsData>> locationCheck(@RequestBody DeviceLocationRequest deviceLocationRequest);
/**
* 获取单个设备的最新位置和基站数据
......
......@@ -59,7 +59,7 @@ public class GpsBsServiceFallbackImpl implements GpsBsFeignService {
}
@Override
public R<List<GpsBsData>> check(DeviceLocationRequest deviceLocationRequest) {
public R<List<GpsBsData>> locationCheck(DeviceLocationRequest deviceLocationRequest) {
log.info("check 熔断啦==={}", 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!