puzhibing
2024-02-22 f6585d78307370f108b4a691e5ebd225fedbeda8
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.communityWorldCup.feignclient.other;
 
import com.dsh.communityWorldCup.feignclient.other.model.Site;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
/**
 * @author zhibing.pu
 * @Date 2024/2/19 15:13
 */
@FeignClient("mb-cloud-other")
public interface SiteClient {
 
 
    /**
     * 根据id获取场地信息
     * @param id
     * @return
     */
    @PostMapping("/base/site/listById")
    Site getSite(Integer id);
}