Browse Source

回调地址浏览器跳转

zouxuan 1 năm trước cách đây
mục cha
commit
ba4f87ceed

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/OrderPayOpsServiceImpl.java

@@ -260,7 +260,7 @@ public class OrderPayOpsServiceImpl implements OrderPayOpsService {
 	        Map<String, Object> paymentParams = getPaymentParam(payParam, clazz, hfMerchantConfig.getPlatformPayeeMemberId());
 	        paymentParams.put("time_expire", timeExpire);
 	        paymentParams.put("expend", getExpend(hfMerchantConfig, payParam));
-//	        paymentParams.put("notify_url", payParam.getNotifyUrl());
+	        paymentParams.put("notify_url", payParam.getNotifyUrl());
 	        //向第三方发起支付,获取第三方的支付的信息
 	        payment = Payment.executePayment(hfMerchantConfig.getAppId(), hfMerchantConfig.getMerKey(), paymentParams);
 	        
@@ -274,7 +274,7 @@ public class OrderPayOpsServiceImpl implements OrderPayOpsService {
 			params.put("merchantNo", hfMerchantConfig.getPlatformPayeeMemberId());
 			params.put("orderId", payParam.getOrderNo());
 			params.put("orderAmount", payParam.getAmount());
-//			params.put("notifyUrl", payParam.getNotifyUrl());
+			params.put("notifyUrl", payParam.getNotifyUrl());
 			params.put("redirectUrl", payParam.getReturnUrl());
 			params.put("scene", "OFFLINE");
 			params.put("goodsName", payParam.getOrderSubject());