2023年8月23日15:30:07

master
litao 2 years ago
parent 292f68f6d8
commit b9f968d9e3
  1. 6
      src/main/java/org/springblade/modules/weixin/controller/AppEbLoginController.java

@ -106,9 +106,9 @@ public class AppEbLoginController {
throw new ServiceException("该订单不存在");
}
Double totalPrice = order.getTotalPrice() * 100;
int total = totalPrice.intValue();
// int total = 1;
// Double totalPrice = order.getTotalPrice() * 100;
// int total = totalPrice.intValue();
int total = 1;
return R.data(WxPayUtils.getPayParam(payDTO.getOpenId(), payDTO.getOutTradeNo(), total));
}

Loading…
Cancel
Save