|  | @@ -58,20 +58,22 @@ public class AppController {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @GetMapping("/location")
 | 
	
		
			
				|  |  | -    @ApiOperation(value = "获取全部船只位置", notes = "获取全部船只位置", produces = "application/json")
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "获取离我最近的船只位置", notes = "获取离我最近的船只位置", produces = "application/json")
 | 
	
		
			
				|  |  |      @ApiImplicitParams({
 | 
	
		
			
				|  |  | -            @ApiImplicitParam(name = "direction", value = "正向(TRUE)/反向(FALSE)、默认正向", required = true, dataType = "Boolean", paramType = "query")})
 | 
	
		
			
				|  |  | -    public R<List<LocationVO>> getLocationAll(@RequestParam(defaultValue = "true", name = "direction") Boolean direction)
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "direction", value = "正向(TRUE)/反向(FALSE)、默认正向", required = true, dataType = "Boolean"),
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "lat", value = "纬度", required = true, dataType = "String"),
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "lon", value = "经度", required = true, dataType = "String")})
 | 
	
		
			
				|  |  | +    public R<LocationVO> getLocationAll(@RequestParam(defaultValue = "true", name = "direction") Boolean direction,@RequestParam(defaultValue = "",name = "lat") String lat, @RequestParam(defaultValue = "",name = "lon") String lon )
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  | -        return R.data(iAppService.findAllLocation(direction));
 | 
	
		
			
				|  |  | +        return R.data(iAppService.findAllLocationByNext(direction,lat,lon));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @GetMapping("/wharf/my")
 | 
	
		
			
				|  |  |      @ApiOperation(value = "获取离我最近的站点及距离", notes = "获取离我最近的站点及距离", produces = "application/json")
 | 
	
		
			
				|  |  |      @ApiImplicitParams({
 | 
	
		
			
				|  |  | -            @ApiImplicitParam(name = "lat", value = "纬度", required = true, dataType = "String", paramType = "query"),
 | 
	
		
			
				|  |  | -            @ApiImplicitParam(name = "lon", value = "经度", required = true, dataType = "String", paramType = "query")})
 | 
	
		
			
				|  |  | -    public R<List<SysWharfVO>> getWharfMy(@RequestParam(defaultValue = "",name = "lat") String lat, @RequestParam(defaultValue = "",name = "lon") String lon )
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "lat", value = "纬度", required = true, dataType = "String"),
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "lon", value = "经度", required = true, dataType = "String")})
 | 
	
		
			
				|  |  | +    public R<SysWharfVO> getWharfMy(@RequestParam(defaultValue = "",name = "lat") String lat, @RequestParam(defaultValue = "",name = "lon") String lon )
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          return R.data(iAppService.findNearestStation(lat,lon));
 | 
	
		
			
				|  |  |      }
 |