package com.hz.his.feign.service.platform.bi; import com.hx.resultTool.Result; import com.hz.his.dto.activityData.ActivityReportDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * å‡å•æŠ¥è¡¨ * 这里这个name 需è¦å¡«å†™ 请求的æœåŠ¡æ供者的注册到nacos Server上é¢çš„æœåŠ¡å,path 是请求接å£å‰ç¼€ */ @FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-activity-report") public interface BiActivityReportService { /** * 导出 */ @PostMapping("/activity/report/export") Result export(@RequestBody ActivityReportDto activityReportDto); }