package com.dsh.activity.feignclient.other;
|
|
import com.dsh.activity.feignclient.other.model.Site;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/7/18 11:38
|
*/
|
@FeignClient("mb-cloud-other")
|
public interface SiteClient {
|
|
|
/**
|
* 根据id获取场地数据
|
*
|
* @param id
|
* @return
|
*/
|
@PostMapping("/site/querySiteById")
|
Site querySiteById(Integer id);
|
}
|