diff --git a/order/src/main/java/com/order/controller/OrderPayNotifyController.java b/order/src/main/java/com/order/controller/OrderPayNotifyController.java index 13d1088..dbbb2ed 100644 --- a/order/src/main/java/com/order/controller/OrderPayNotifyController.java +++ b/order/src/main/java/com/order/controller/OrderPayNotifyController.java @@ -104,7 +104,7 @@ public class OrderPayNotifyController { log.info("开始处理订单: " + body.getString("outTradeNo")); // 查询订单信息 - OrderModel order = orderService.getDetail(body.getString("outTradeNo")); + OrderModel order = orderService.getDetail(body.getString("outTradeNo").split("_")[0]); if (order != null && order.getOrderStatus().equals(OrderStatusEnum.status1.getCode())) { log.info("开始处理业务"); // 处理订单业务