Commit e6543f93 by chongli

退款回调问题修复

parent 1941d1f6
......@@ -184,9 +184,9 @@ public abstract class AbstractPaymentService<T extends AbstractOrder> extends Co
//uri.order.list=/fun-golf-service/{orderType}/list
String refoundNotifyUrl="";
if(order.getOrderCategory()==1){
weiXinRefoundNotifyUrl.replace("{orderType}", "courseOrder");
refoundNotifyUrl=weiXinRefoundNotifyUrl.replace("{orderType}", "courseOrder");
}else if(order.getOrderCategory()==14){
weiXinRefoundNotifyUrl.replace("{orderType}", "eventActivityOrder");
refoundNotifyUrl=weiXinRefoundNotifyUrl.replace("{orderType}", "eventActivityOrder");
}
WeiXinAtcion.wechatRefund(order.getOrderNo()+"", order.getAmount().subtract(order.getVoucherAmount()).subtract(order.getPrePayCardAmount()).multiply(new BigDecimal("100")).intValue(), paymentOperateBean.getAmount().multiply(new BigDecimal("100")).intValue(),refoundNotifyUrl);
PayOrderOperateResponseBean payBean = new PayOrderOperateResponseBean();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment