package com.njcn.prepare.harmonic.api.upload;


import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.upload.fallback.DimBusGlobalFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.DeviceAbnormaStatisticsParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(
        value = ServerInfo.PREPARE_BOOT,//对应模块名
        path = "/dimGlobal",//对应controller请求类
        fallbackFactory = DimBusGlobalFeignClientFallbackFactory.class//服务降级处理类
)
public interface DimBusGlobalFeignClient {

    @GetMapping("/runLedgerStatistic")
    void runLedgerStatistic (@RequestParam("date")String date);


    @GetMapping("/dimBusUpEveryDay")
    void dimBusUpEveryDay (@RequestParam("date")String date);
}
