package com.dsh.course.feignClient.account; import com.dsh.course.feignClient.account.model.Referee; import com.dsh.course.feignClient.account.model.RefereeList; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import java.util.Map; /** * @author zhibing.pu * @Date 2024/3/1 14:24 */ @FeignClient("mb-cloud-account") public interface RefereeClient { /** * 获取裁判管理列表 * @param refereeList * @return */ @PostMapping("/referee/getRefereeList") Map getRefereeList(RefereeList refereeList); /** * 添加裁判 * @param referee */ @PostMapping("/referee/addReferee") void addReferee(Referee referee); /** * 根据id获取数据 * @param id * @return */ @PostMapping("/referee/getRefereeById") Referee getRefereeById(Integer id); }