Commit 86cff86f by 杨林龙

新增统计数据方法

1 parent 55f98331
......@@ -32,4 +32,7 @@ public interface StatisticsDriveClient {
*/
@PostMapping(value = "/insertstatisticsdrivelist")
R insertStatisticsDriveList(@RequestBody List<StatisticsDriveDto> statisticsDriveDtoList);
@GetMapping(value = "/statisticsandinsertdrivedatalist")
R statisticsAndInsertDriveDataEveryDay();
}
......@@ -33,4 +33,10 @@ public class StatisticsDriveFallbackImpl implements StatisticsDriveClient {
log.warn("insertStatisticsDriveList 熔断啦 {}", cause.getMessage());
return R.ok("服务异常");
}
@Override
public R statisticsAndInsertDriveDataEveryDay() {
log.warn("statisticsAndInsertDriveDataEveryDay 熔断啦 {}", 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!