| | |
| | | @GetMapping("getRiderSourceInfo/{riderId}") |
| | | @ApiOperation("查询第三方数据骑手信息") |
| | | @PreAuthorize("@el.check('riderInfo:list')") |
| | | public ResponseEntity<?> getRiderSourceInfo(@PathVariable String riderId) { |
| | | public ResponseEntity<?> getRiderSourceInfo(@PathVariable Long riderId) { |
| | | RiderInfo riderInfo = riderInfoService.getRiderSourceInfo(riderId); |
| | | return ResponseEntity.ok(R.success(riderInfo)); |
| | | } |
| | |
| | | return ResponseEntity.ok(R.success(result)); |
| | | } |
| | | |
| | | // @GetMapping("riderCancelOrder/{orderNum}") |
| | | // @ApiOperation("骑手订单已送达") |
| | | // @PreAuthorize("@el.check('riderOrderRecord:list')") |
| | | // public ResponseEntity<?> riderCancelOrder(@PathVariable String orderNum) { |
| | | // // 订单号不能为空 |
| | | // if (orderNum == null || orderNum.equals("")) { |
| | | // return ResponseEntity.ok(R.fail(Constants.HTTP_CODE_FAIL, "订单号不能为空")); |
| | | // } |
| | | // R result = riderOrderRecordService.riderCancelOrder(orderNum); |
| | | // return ResponseEntity.ok(R.success(result)); |
| | | // } |
| | | |
| | | } |