|
|
@ -10,20 +10,20 @@ import com.epmet.resi.group.dto.group.result.ApplyingGroupResultDTO; |
|
|
|
import com.epmet.resi.group.dto.group.result.GroupEditionDetailResultDTO; |
|
|
|
import com.epmet.resi.group.dto.group.result.GroupInfoResultDTO; |
|
|
|
import com.epmet.resi.group.dto.topic.MyCreateTopicsFormDTO; |
|
|
|
import com.epmet.resi.group.dto.topic.ResiTopicDTO; |
|
|
|
import com.epmet.resi.group.dto.topic.form.*; |
|
|
|
import com.epmet.resi.group.dto.topic.result.*; |
|
|
|
import com.epmet.resi.group.feign.fallback.ResiGroupOpenFeignClientFallback; |
|
|
|
import com.epmet.resi.mine.dto.from.MyPartProjectsFormDTO; |
|
|
|
import com.epmet.resi.group.dto.group.form.CreateGroupCodeFormDTO; |
|
|
|
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; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
|
|
|
|
/** |
|
|
|
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|
|
@ -32,7 +32,7 @@ import org.springframework.http.MediaType; |
|
|
|
* @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,url = "localhost:8095")
|
|
|
|
public interface ResiGroupOpenFeignClient { |
|
|
|
|
|
|
|
@PostMapping("/resi/group/group/gov-edit-auditing-list") |
|
|
@ -195,4 +195,7 @@ public interface ResiGroupOpenFeignClient { |
|
|
|
*/ |
|
|
|
@PostMapping("resi/group/topic/sendevent") |
|
|
|
Result sendEvent(@RequestBody TopicEventFormDTO param); |
|
|
|
|
|
|
|
@GetMapping("resi/group/topic/querytopicinfobyissueid/{issueId}") |
|
|
|
Result<ResiTopicDTO> queryTopicInfoByIssueId(@PathVariable("issueId")String issueId); |
|
|
|
} |
|
|
|