修改pay模块>创建支付单>存在时返回订单Id

This commit is contained in:
qs 2022-12-12 09:46:12 +08:00
parent 99338182b2
commit 86ef58d70b

View File

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