|
@@ -7,8 +7,8 @@ import org.springframework.http.MediaType;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
-import java.util.HashMap;
|
|
|
|
-import java.util.Map;
|
|
|
|
|
|
+import java.util.*;
|
|
|
|
+
|
|
@FeignClient(value = "DAL-OTMS-API-DEV", url = "${openfeign.OTMSFeign.url}")
|
|
@FeignClient(value = "DAL-OTMS-API-DEV", url = "${openfeign.OTMSFeign.url}")
|
|
public interface OtmsFeign {
|
|
public interface OtmsFeign {
|
|
//在途订单列表
|
|
//在途订单列表
|
|
@@ -107,4 +107,12 @@ public interface OtmsFeign {
|
|
);
|
|
);
|
|
@GetMapping("/api/v1/otms/pathDisplay/getCurrentLocation")
|
|
@GetMapping("/api/v1/otms/pathDisplay/getCurrentLocation")
|
|
public RESTfulResult getCurrentLocation(@RequestParam("capcityNumber") String capcityNumber) throws Exception;
|
|
public RESTfulResult getCurrentLocation(@RequestParam("capcityNumber") String capcityNumber) throws Exception;
|
|
|
|
+
|
|
|
|
+ //获取地图顶点
|
|
|
|
+ @GetMapping(value = "/api/v1/otms/mapvertexs/findAllAvailableVertex")
|
|
|
|
+ public RESTfulResult findAllAvailableVertex();
|
|
|
|
+
|
|
|
|
+ //获取最佳路径
|
|
|
|
+ @GetMapping(value = "/api/v1/otms/mapvertexs/getObtainTheOptimalPath")
|
|
|
|
+ public RESTfulResult getObtainTheOptimalPath(@RequestParam("startPoint") String startPoint,@RequestParam("endPoint") String endPoint) throws Exception;
|
|
}
|
|
}
|