diff --git a/nakadai/src/main/java/com/huoran/nakadai/controller/OrderController.java b/nakadai/src/main/java/com/huoran/nakadai/controller/OrderController.java index fba9a08..79deedf 100644 --- a/nakadai/src/main/java/com/huoran/nakadai/controller/OrderController.java +++ b/nakadai/src/main/java/com/huoran/nakadai/controller/OrderController.java @@ -232,9 +232,9 @@ public class OrderController { public ServerResponseEntity info(@PathVariable("orderNumber") String orderNumber,HttpServletRequest request) { Integer shopId = TokenUtils.getShopIdByJwtToken(request); Order order = orderService.getOrderByOrderNumber(orderNumber); - if (!Objects.equal(shopId, order.getShopId())) { - throw new YamiShopBindException("您没有权限获取该订单信息"); - } +// if (!Objects.equal(shopId, order.getShopId())) { +// throw new YamiShopBindException("您没有权限获取该订单信息"); +// } List orderItems = orderItemService.getOrderItemsByOrderNumber(orderNumber); order.setOrderItems(orderItems); // UserAddrOrder userAddrOrder = userAddrOrderService.getById(order.getAddrOrderId());