提交代码

dev
胡锐 2 months ago
parent 5381dce6a8
commit 733cc0acdd
  1. 2
      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("开始处理业务");
// 处理订单业务

Loading…
Cancel
Save