package net.northking.cctp.dw.feign;

import com.hzbank.testteam.autotest.dependencies.monsterDependency.dto.SystemDTO;
import io.swagger.annotations.ApiOperation;
import net.northking.cctp.common.feign.FeignCctpConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "monster-common", configuration = {FeignCctpConfig.class})
public interface HZBankFeignClient {
    @ApiOperation(value = "根据id获取系统信息", notes = "根据id获取系统信息")
    @GetMapping(value = "/monster-common/api/system/getProjectById/{projectId}")
    SystemDTO getProjectById(@PathVariable(value = "projectId") Long projectId);
}
