puzhibing
2024-03-21 03bc927fdb8469c1417f75c2a25a06a0d6b1ae61
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
}