| | |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/api/taxi/pushOrderTaxi") |
| | | @ApiOperation(value = "继续等待推单操作", tags = {"用户端-出租车", "用户端-专车"}, notes = "") |
| | | @ApiOperation(value = "继续等待推单操作", tags = {"用户端-出租车", "用户端-专车","用户端-跨城"}, notes = "") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "订单id", name = "id", required = true, dataType = "int"), |
| | | @ApiImplicitParam(value = "订单类型(1=专车,2=出租车)", name = "orderType", required = true, dataType = "int"), |
| | | @ApiImplicitParam(value = "订单类型(1=专车,2=出租车,3-跨城)", name = "orderType", required = true, dataType = "int"), |
| | | @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....") |
| | | }) |
| | | public ResultUtil pushOrderTaxi(Integer id, Integer orderType){ |
| | |
| | | return orderPrivateCarService.pushOrderPrivateCar(id); |
| | | case 2: |
| | | return orderTaxiService.pushOrderTaxi(id); |
| | | // case 3: |
| | | // return orderCrossCityService.pushOrderCrossCity(id); |
| | | } |
| | | return ResultUtil.success(); |
| | | }catch (Exception e){ |