IGeometry.java
850 Bytes
package com.dituhui.pea.geometry;
import com.dituhui.pea.pojo.GeometryInfo;
import com.dituhui.pea.pojo.WebResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* IGeometry
* 用于的类
*
* @author zhouyun
* 2021/3/10 14:59
* <p>Company: 成都地图慧科技有限公司</p>
*/
@FeignClient(value = "geometry")
public interface IGeometry {
@RequestMapping(value = "/geometry/test", method = RequestMethod.GET)
public WebResult<String> test();
@PostMapping("/geometry/topology")
public WebResult<GeometryInfo> topology(@RequestBody GeometryInfo geometryInfo);
}