package com.rongwei.safecommon.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;
import java.util.Map;

@FeignClient(value = "rw-workflow-server", fallback = WFFeginClientImpl.class)

public interface WFFeginClient {
    @GetMapping("comment/getCommentsByProcInstId/{procInstId}")
    List<Map<String, Object>> getCommentsByProcInstId(@PathVariable("procInstId") String procInstId);

}
