提供支付订单直接设置异步回调地址

This commit is contained in:
egan
2022-03-20 23:44:23 +08:00
parent 0faa3014f0
commit d9ced7ea05

View File

@@ -213,8 +213,10 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> implement
return setSign(getOrder(order));
}
private void setNotifyUrl(Map<String, Object> orderInfo, PayOrder order) {
orderInfo.put(NOTIFY_URL, payConfigStorage.getNotifyUrl());
private void setNotifyUrl(Map<String, Object> orderInfo, AssistOrder order) {
// orderInfo.put(NOTIFY_URL, payConfigStorage.getNotifyUrl());
OrderParaStructure.loadParameters(orderInfo, NOTIFY_URL, payConfigStorage.getNotifyUrl());
OrderParaStructure.loadParameters(orderInfo, NOTIFY_URL, order.getNotifyUrl());
OrderParaStructure.loadParameters(orderInfo, NOTIFY_URL, order);
}