|
@@ -265,7 +265,7 @@ public class TWeixinPayController {
|
|
|
order.setFrpCode(frpCode1);
|
|
|
order.setAltInfo(altInfo.toString());
|
|
|
order.setStatus(0);
|
|
|
- String payPlatform = "2";
|
|
|
+ String payPlatform = "3";
|
|
|
order.setPayPlatform(payPlatform);
|
|
|
if(StringUtils.isNotEmpty(payPlatform)&&payPlatform.equals("1")){
|
|
|
order.setIsSettlement("0");
|
|
@@ -369,8 +369,9 @@ public class TWeixinPayController {
|
|
|
createRequest.setAmount(amount);
|
|
|
String refundNo = orderService.initSn(order.getEquipmentId());
|
|
|
createRequest.setOutRefundNo(refundNo);
|
|
|
-// createRequest.setNotifyUrl("https://app.sunzee.com.cn/PAY-SERVER/tWeixinPay/refundNotify");
|
|
|
- createRequest.setNotifyUrl("http://mianhuatang.gz2vip.91tunnel.com/tWeixinPay/refundNotify");
|
|
|
+ createRequest.setNotifyUrl("https://app.sunzee.com.cn/PAY-SERVER/tWeixinPay/refundNotify");
|
|
|
+// createRequest.setNotifyUrl("http://mianhuatang.gz2vip.91tunnel.com/tWeixinPay/refundNotify");
|
|
|
+// createRequest.setNotifyUrl("http://soobin.5gzvip.91tunnel.com/tWeixinPay/refundNotify");
|
|
|
Refund refund = orderService.weixinRefundApi(createRequest,order.getAdminId());
|
|
|
System.out.println("退款参数"+refund.toString());
|
|
|
if(refund.getStatus()==PROCESSING){
|