Commit e6c3c7c0 by 杨林龙

试驾围栏数据保存添加试驾行程结束时间和试驾行驶里程

1 parent 34674f9b
......@@ -21,4 +21,7 @@ public interface ElectricFenceClient {
@PostMapping(value = "/insertfencedrive")
R insertFenceDrive(@RequestBody ElectricFenceDto fenceDrive);
@GetMapping(value = "/getvdidbysn")
R getVdIdbySn(@RequestParam String sn);
}
......@@ -32,4 +32,10 @@ public class ElectricFenceFallbackImpl implements ElectricFenceClient {
log.warn("insertFenceDrive 熔断啦 {}", cause.getMessage());
return R.ok("服务异常");
}
@Override
public R getVdIdbySn(String sn) {
log.warn("getVdIdbySn 熔断啦 {}", 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!