支付回调修改

This commit is contained in:
GYJ
2024-12-04 14:56:55 +08:00
parent ce5740d192
commit 7e79d3fc35
3 changed files with 8 additions and 1 deletions

View File

@@ -104,7 +104,7 @@ public class WuyouController {
log.info("无忧支付回调成功, 参数: {}", JSONObject.toJSONString(notifyDto));
Orders order = ordersService.selectOrderByOrdersNo(notifyDto.getOutTradeNo());
Orders order = ordersService.selectOrderByTradeNo(notifyDto.getOutTradeNo());
if (order == null) {
log.error("无忧支付回调订单不存在, 参数: {}", JSONObject.toJSONString(notifyDto));
return "订单不存在";