package com.njcn.process.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.process.api.fallback.ThsSuperviseFallbackFactory;
import com.njcn.process.pojo.param.SuperviseParam;
import com.njcn.process.pojo.vo.SuperviceRunLogVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * 技术监督每日任务
 * @author cdf
 * @date 2023/4/13
 */
@FeignClient(value = ServerInfo.PROCESS,path = "/thsSupervise",fallbackFactory = ThsSuperviseFallbackFactory.class)
public interface ThsSuperviseFeignClient {


    /**
     * 技术监督每日任务
     * @author cdf
     * @date 2024/3/18
     */
    @PostMapping("/initSupervise")
    HttpResult<SuperviceRunLogVo> initSupervise(@RequestBody SuperviseParam superviseParam);



}
