| | |
| | | * 手动结束订单 |
| | | */ |
| | | |
| | | @PutMapping("/api/v1/order/endTrip/{order_id}") |
| | | @PutMapping("/api/v1/mini-program/order/endTrip/{order_id}") |
| | | @ApiOperation(value = "结束行程", tags = {"小程序-结束行程"}) |
| | | @XpClientCheck(checkToken = false, checkOtpToken = true) |
| | | public R endTrip(@PathVariable("orderId") Long orderId,HttpServletRequest request) { |
| | |
| | | * 获取行程费用明细 |
| | | */ |
| | | |
| | | @PutMapping("/api/v1/order/fare-breakdown/{order_id}") |
| | | @PutMapping("/api/v1/mini-program/order/fare-breakdown/{order_id}") |
| | | @ApiOperation(value = "获取行程费用明细", tags = {"小程序-获取行程费用明细"}) |
| | | @XpClientCheck(checkToken = false, checkOtpToken = true) |
| | | public R<FareBreakdownVo> fareBreakdown(@PathVariable("orderId") Long orderId, HttpServletRequest request) { |
| | |
| | | /** |
| | | * 订单评价 |
| | | */ |
| | | @PostMapping("/api/v1/order/payment") |
| | | @PostMapping("/api/v1/mini-program/order/payment") |
| | | @ApiOperation(value = "发起支付", tags = {"小程序-发起支付"}) |
| | | @XpClientCheck(checkToken = false, checkOtpToken = true) |
| | | public R payment(@Validated @RequestBody XpOrderPayDto dto, HttpServletRequest request) { |