Commit 20dc3b88 by chongli

修复买券接口回调问题

parent 1ce79af3
...@@ -260,7 +260,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean, ...@@ -260,7 +260,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean,
communeOrderMoney = jsobj.getInteger("chongZhiMoney"); communeOrderMoney = jsobj.getInteger("chongZhiMoney");
body="chongzhi"; body="chongzhi";
} }
JSONObject json = WeiXinAtcion.weixinPlay(userExt.getMiniAppOpenId(), communeOrderMoney*100, order.getOrderId()+"", communeBaseNotifyUrlForMiniApp,body); JSONObject json = WeiXinAtcion.weixinPlay(userExt.getMiniAppOpenId(), communeOrderMoney*100, order.getOrderNo()+"", communeBaseNotifyUrlForMiniApp,body);
return json; return json;
} }
return null; return null;
...@@ -279,7 +279,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean, ...@@ -279,7 +279,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean,
}else{ }else{
communeOrderMoney = communeOrderBean.getAmount(); communeOrderMoney = communeOrderBean.getAmount();
} }
JSONObject json = WeiXinAtcion.weixinPlay(userExt.getMiniAppOpenId(), communeOrderMoney.intValue()*100, order.getOrderId()+"", voucherNotifyUrlForMiniApp,"buy_voucher"); JSONObject json = WeiXinAtcion.weixinPlay(userExt.getMiniAppOpenId(), communeOrderMoney.multiply(new BigDecimal("100")).intValue(), order.getOrderNo()+"", voucherNotifyUrlForMiniApp,"buy_voucher");
return json; return json;
} }
return null; return null;
......
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