| | |
| | | return ResponseEntity.ok(R.success(result)); |
| | | } |
| | | |
| | | @GetMapping("riderOperationOrder") |
| | | @PostMapping("riderOperationOrder") |
| | | @ApiOperation("骑手上报到店/取货配送") |
| | | // @PreAuthorize("@el.check('riderOrderRecord:list')") |
| | | public ResponseEntity<?> riderOperationOrder(OrderRiderOperationVo orderRiderOperation) { |
| | | public ResponseEntity<?> riderOperationOrder(@RequestBody OrderRiderOperationVo orderRiderOperation) { |
| | | // 订单号不能为空 |
| | | if (orderRiderOperation.getOrderNum() == null || orderRiderOperation.getOrderNum().equals("")) { |
| | | return ResponseEntity.ok(R.fail(Constants.HTTP_CODE_FAIL, "订单号不能为空")); |