package org.sxkj.odm.feign; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; @FeignClient( value = "drone-odm", fallback = IDrawPixelBoxClientFallback.class ) /** * 绘制像素框 */ public interface IDrawPixelBoxClient { String API_PREFIX = "/client"; String DRAW_IMAGE_PIXEL_BOX = API_PREFIX + "/draw-image-pixel-box"; /** * 绘制像素框 * * @param type 0tif 1图片 * @param tifFilePath tif文件路径 * @param filePath 文件路径 * @param outPath 输出路径 * @param points 像素坐标点集合 * @param geom 地理面 * @return 绘制结果 */ @GetMapping(DRAW_IMAGE_PIXEL_BOX) Boolean drawImagePixelBox(@RequestParam("type") int type, @RequestParam("tifFilePath") String tifFilePath, @RequestParam("filePath") String filePath, @RequestParam("outPath") String outPath, @RequestParam("points") String points, @RequestParam("geom") String geom); }