添加订单详情接口
This commit is contained in:
@ -126,6 +126,13 @@ public class StoreOrderController {
|
||||
return new ResponseEntity<>(yxStoreOrderService.queryAll(newCriteria, pageable), HttpStatus.OK);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "根据订单id获取订单详情")
|
||||
@GetMapping(value = "/getStoreOrderDetail")
|
||||
@PreAuthorize("hasAnyRole('admin','YXSTOREORDER_ALL','YXSTOREORDER_SELECT','YXEXPRESS_SELECT')")
|
||||
public ResponseEntity getYxStoreOrders(@PathVariable Long orderId) {
|
||||
return new ResponseEntity<>(yxStoreOrderService.getOrderDetail(orderId), HttpStatus.OK);
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "发货")
|
||||
@PutMapping(value = "/yxStoreOrder")
|
||||
|
Reference in New Issue
Block a user