package com.onemap.system.api; import com.onemap.common.core.constant.ServiceNameConstants; import com.onemap.common.core.web.domain.RequestResult; import com.onemap.system.api.domain.WktsVo; import com.onemap.system.api.factory.SpatialFallbackFactory; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * 分析服务 */ @FeignClient(contextId = "spatialService", value = ServiceNameConstants.SPATIAL_SERVICE, fallbackFactory = SpatialFallbackFactory.class) public interface SpatialService { @PostMapping("/spatial/image/sensing") RequestResult getImage(@RequestBody WktsVo wktsVo); }