修改`pay模块>创建支付单>存在时返回订单Id`
This commit is contained in:
qs 2022-12-12 09:46:12 +08:00 committed by 骑士梦
parent c93eb07cc8
commit fb663a984c

View File

@ -103,7 +103,7 @@ public class PayOrderServiceImpl implements PayOrderService {
if (order != null) { if (order != null) {
log.warn("[createPayOrder][appId({}) merchantOrderId({}) 已经存在对应的支付单({})]", order.getAppId(), log.warn("[createPayOrder][appId({}) merchantOrderId({}) 已经存在对应的支付单({})]", order.getAppId(),
order.getMerchantOrderId(), JsonUtils.toJsonString(order)); // 理论来说不会出现这个情况 order.getMerchantOrderId(), JsonUtils.toJsonString(order)); // 理论来说不会出现这个情况
return app.getId(); return order.getId();
} }
// 创建支付交易单 // 创建支付交易单