liyg 3 éve
szülő
commit
6c7edc88ff

+ 2 - 2
src/main/java/com/steerinfo/inPlantNavigation/controller/MapVertexController.java

@@ -51,13 +51,13 @@ public class MapVertexController extends BaseRESTfulController {
     }
 
     @ApiOperation(value="查询所有可用地点")
-    @GetMapping(value = "/mapvertexs/findAllAvailableVertex")
+    @GetMapping(value = "/findAllAvailableVertex")
     public RESTfulResult findAllAvailableVertex(){
         return success(mapVertexService.findAllAvailable());
     }
 
     @ApiOperation(value="获取最佳路径")
-    @GetMapping(value = "/mapvertexs/getObtainTheOptimalPath")
+    @GetMapping(value = "/getObtainTheOptimalPath")
     public RESTfulResult getObtainTheOptimalPath(@RequestParam("startPoint") String startPoint,@RequestParam("endPoint")  String endPoint) throws VertexAngEdgeException {
         Map<String, List<MapVertexEdge>> vertexEdgeList= mapVertexEdgeService.initVertexEdge();
         Map<String, MapVertex> vertexList = mapVertexService.initMapVertex();

+ 6 - 0
src/main/java/com/steerinfo/inPlantNavigation/service/impl/IPMMSVertexServiceImpl.java

@@ -8,6 +8,7 @@ import com.steerinfo.route.util.LngLonUtil;
 import org.apache.commons.lang.SerializationUtils;
 import org.springframework.stereotype.Service;
 
+import java.io.IOException;
 import java.math.BigDecimal;
 import java.util.*;
 
@@ -334,5 +335,10 @@ public class IPMMSVertexServiceImpl implements IIPMMSVertexService {
         return IPMMSVertexList;
     }
 
+    @Override
+    public Map<String, IPMMSVertex> initIPMSVertexTest2() throws IOException {
+        return null;
+    }
+
 
 }