xubh 4 年之前
父節點
當前提交
9626a03467
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/main/java/com/minpay/common/pay/ShouhuoPay.java

+ 4 - 2
src/main/java/com/minpay/common/pay/ShouhuoPay.java

@@ -200,12 +200,14 @@ public class ShouhuoPay implements IMINAction{
 
 				//支付后台回调地址
 				String notify_url = Service.lookup(IPublicService.class).getSysParValue(user.getChannel() + "_SHOUHUO_NOTIFY_URL");
-				notify_url = "http://xubing2.minpay.cc/services";
+				//notify_url = "http://xubing2.minpay.cc/services";
 
 				notify_url = notify_url + "/ShouhuoPay/personalPayCallBack";
 				if("05".equals(pay_channel)){
 					pay_channel = "09";
 				}
+				String turntablePage = Service.lookup(IPublicService.class).getSysParValue(user.getChannel() + "_SHOUHUO_TURNTABLE_PAGE");
+				turntablePage = turntablePage.concat("orderId="+orderId);
 				Huilianpay prePay = new Huilianpay();
 				IHuilianPayService huilianPayService = new HuilianPayServiceImpl();
 				prePay.setChannel(payType);
@@ -216,7 +218,7 @@ public class ShouhuoPay implements IMINAction{
 				prePay.setTotalAmount(payAmt);
 				prePay.setHlMerchantId(accNo);
 				prePay.setGoodName(orderId);
-				prePay.setSucUrl("https://www.baidu.com/");
+				prePay.setSucUrl(turntablePage);
 				resMap = huilianPayService.prePay(prePay);
 
 			}