|
@@ -99,8 +99,8 @@ public class PayController {
|
|
|
CullenUtils.validateDataThrowException(payInfo.getPayAmount() < 0.01, "订单金额有误,无法进行支付");
|
|
|
JsapiPayInfoPo po = new JsapiPayInfoPo();
|
|
|
po.setDescription(payInfo.getBody());
|
|
|
- //po.setTotal((int) Arith.mul(payInfo.getPayAmount(), 100));
|
|
|
- po.setTotal(1);
|
|
|
+ po.setTotal((int) Arith.mul(payInfo.getPayAmount(), 100));
|
|
|
+ //po.setTotal(1);
|
|
|
po.setOpenId(user.getBizUserId());
|
|
|
po.setOutTradeNo(payInfo.getPayNo());
|
|
|
po.setNotifyUrl(getNotifyUrl(baseNotifyUrl));
|