修改`pay模块>创建支付单>存在时返回订单Id`
This commit is contained in:
parent
c93eb07cc8
commit
fb663a984c
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建支付交易单
|
// 创建支付交易单
|
||||||
|
Loading…
Reference in New Issue
Block a user