Commit 63f60ce5 authored by hezhen's avatar hezhen

Merge branch 'hz_master' into base-modify

parents f44ec408 e52017f1
...@@ -116,7 +116,7 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> { ...@@ -116,7 +116,7 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> {
jsParam = generateAliPayment(orderPayVo, notifyUrl); jsParam = generateAliPayment(orderPayVo, notifyUrl);
}else if (type == 3 && payWay == 1){ }else if (type == 3 && payWay == 1){
sellerAccount = SystemConfig.APP_PARTNER; sellerAccount = SystemConfig.APP_PARTNER;
jsParam=WXPay.getPackage( amount+"",orderPayVo.getBody(),notify_url,trade_no,orderPayVo.getBuyerIp(),orderPayVo.getBuyerAccount(), wy_appid,wy_secret); jsParam = WXPay.webPay(amount + "", orderPayVo.getBody(), notify_url, trade_no, orderPayVo.getBuyerIp(), orderPayVo.getBuyerAccount(),wy_appid);
} }
log.info("报名费回调路径jsParam:" + jsParam); log.info("报名费回调路径jsParam:" + jsParam);
if (!StringUtils.isBlank(jsParam)) { if (!StringUtils.isBlank(jsParam)) {
...@@ -131,7 +131,7 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> { ...@@ -131,7 +131,7 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> {
log.error("---下单---order_no=====" + order_no + "----异常---msg===" + e.getMessage()); log.error("---下单---order_no=====" + order_no + "----异常---msg===" + e.getMessage());
return JsonResultUtil.createFailedResult(ResultCode.EXCEPTION_CODE, "出现异常"); return JsonResultUtil.createFailedResult(ResultCode.EXCEPTION_CODE, "出现异常");
} }
if (payWay == 1&&type!=3) { if (payWay == 1) {
JSONObject temp = JSON.parseObject(jsParam); JSONObject temp = JSON.parseObject(jsParam);
return JsonResultUtil.createSuccessResultWithObj(temp); return JsonResultUtil.createSuccessResultWithObj(temp);
} else { } else {
......
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 to comment