|
|
@ -17,6 +17,7 @@ import com.epmet.resi.group.feign.fallback.ResiGroupOpenFeignClientFallback; |
|
|
|
import com.epmet.resi.mine.dto.from.MyPartProjectsFormDTO; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
@ -30,8 +31,8 @@ import java.util.List; |
|
|
|
* @author yinzuomei@elink-cn.com |
|
|
|
* @date 2020/6/4 13:16 |
|
|
|
*/ |
|
|
|
@FeignClient(name = ServiceConstant.RESI_GROUP_SERVER, fallback = ResiGroupOpenFeignClientFallback.class) |
|
|
|
//@FeignClient(name = ServiceConstant.RESI_GROUP_SERVER, fallback = ResiGroupOpenFeignClientFallback.class,url = "localhost:8095")
|
|
|
|
// @FeignClient(name = ServiceConstant.RESI_GROUP_SERVER, fallback = ResiGroupOpenFeignClientFallback.class)
|
|
|
|
@FeignClient(name = ServiceConstant.RESI_GROUP_SERVER, fallback = ResiGroupOpenFeignClientFallback.class,url = "localhost:8095") |
|
|
|
public interface ResiGroupOpenFeignClient { |
|
|
|
|
|
|
|
@PostMapping("/resi/group/group/gov-edit-auditing-list") |
|
|
@ -195,6 +196,6 @@ public interface ResiGroupOpenFeignClient { |
|
|
|
@PostMapping("resi/group/topic/sendevent") |
|
|
|
Result sendEvent(@RequestBody TopicEventFormDTO param); |
|
|
|
|
|
|
|
@PostMapping("resi/group/topic/querytopicinfobyissue/{issueId}") |
|
|
|
@GetMapping("resi/group/topic/querytopicinfobyissueid/{issueId}") |
|
|
|
Result<ResiTopicDTO> queryTopicInfoByIssueId(@PathVariable("issueId")String issueId); |
|
|
|
} |
|
|
|