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