package com.dsh.other.feignclient.communityWorldCup;
|
|
import com.dsh.other.feignclient.communityWorldCup.model.WorldCup;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @date 2024/3/21 11:28
|
*/
|
@FeignClient("mb-cloud-communityWorldCup")
|
public interface WorldCupClient {
|
|
|
/**
|
* 根据id获取详情
|
* @param id
|
* @return
|
*/
|
@PostMapping("/worldCup/getWorldCupById")
|
WorldCup getWorldCup(Integer id);
|
}
|