mirror of
https://gitee.com/zhijiantianya/yudao-cloud.git
synced 2025-12-26 07:06:24 +08:00
fix(pay):修复支付订单同步后查询参数错误
- 修复了同步支付订单后查询参数传错的问题 - 将错误的 id 参数替换为正确的 order.getId() 参数 - 确保同步后能正确获取最新的订单状态
This commit is contained in:
parent
8bfc3b480b
commit
4212c8aed8
@ -74,7 +74,7 @@ public class AppPayOrderController {
|
||||
if (Boolean.TRUE.equals(sync) && PayOrderStatusEnum.isWaiting(order.getStatus())) {
|
||||
payOrderService.syncOrderQuietly(order.getId());
|
||||
// 重新查询,因为同步后,可能会有变化
|
||||
order = payOrderService.getOrder(id);
|
||||
order = payOrderService.getOrder(order.getId());
|
||||
}
|
||||
return success(BeanUtils.toBean(order, PayOrderRespVO.class));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user