Commit 34674f9b by 杨林龙

开发不在店试驾统计任务

1 parent e9c4b4c7
...@@ -20,4 +20,7 @@ public interface ElectricInStoreClient { ...@@ -20,4 +20,7 @@ public interface ElectricInStoreClient {
@PostMapping(value = "/insertelectricinstore") @PostMapping(value = "/insertelectricinstore")
R insertElectricInStore(@RequestBody ElectricInStoreDto electricInStoreDrive); R insertElectricInStore(@RequestBody ElectricInStoreDto electricInStoreDrive);
@GetMapping(value = "/calculateInStoreDateEveryDay")
R calculateInStoreDateEveryDay();
} }
...@@ -32,4 +32,10 @@ public class ElectricInStoreFallbackImpl implements ElectricInStoreClient { ...@@ -32,4 +32,10 @@ public class ElectricInStoreFallbackImpl implements ElectricInStoreClient {
log.warn("insertElectricInStore 熔断啦 {}", cause.getMessage()); log.warn("insertElectricInStore 熔断啦 {}", cause.getMessage());
return R.ok("服务异常"); return R.ok("服务异常");
} }
@Override
public R calculateInStoreDateEveryDay() {
log.warn("calculateInStoreDateEveryDay 熔断啦 {}", 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!