package com.dsh.other.feignclient; import com.dsh.other.feignclient.model.SysNotice; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; import java.util.List; @FeignClient(value = "mb-cloud-other") public interface NoticeClient { @PostMapping("/base/notice/queryNoticeDetails") List getSysNoticeDetails(); @PostMapping("/base/notice/queryNotice") SysNotice getSysNoticeBuId(@RequestParam("noticeId") Integer noticeId); @PostMapping("/base/notice/sysTell") List queryCustomerTel(); }