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


import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.newalgorithm.fallback.RMpEmissionFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
        value = ServerInfo.PREPARE_BOOT,
        path = "/rMpEmissionM",
        fallbackFactory = RMpEmissionFallbackFactory.class
)
public interface RMpEmissionFeignClient {

    @PostMapping("rMpEmissionMHandler")
    HttpResult<Boolean> rMpEmissionMHandler(@RequestBody LineParam jobParam);
}
