Merge branch 'master' of https://gitee.com/wjl2008_admin/nuttyreading-java into zcc
This commit is contained in:
@@ -110,7 +110,7 @@ public class UserVipController {
|
||||
BuyOrder buyOrderEntity = buyOrderService.getBaseMapper().selectOne(new LambdaQueryWrapper<BuyOrder>().eq(BuyOrder::getOrderSn, timeId));
|
||||
WechatPaymentInfo paymentInfo = new WechatPaymentInfo();
|
||||
paymentInfo.setOrderSn(buyOrderEntity.getOrderSn());
|
||||
paymentInfo.setBuyOrderId(Integer.valueOf(buyOrderEntity.getProductId()));
|
||||
paymentInfo.setBuyOrderId(buyOrderEntity.getOrderId());
|
||||
paymentInfo.setTotalAmount(buyOrderEntity.getRealMoney());
|
||||
paymentInfo.setAppName(buyOrder.getAppName());
|
||||
wxpayService.prepay(paymentInfo);
|
||||
@@ -121,7 +121,7 @@ public class UserVipController {
|
||||
buyOrder.getOrderId(),
|
||||
messagePostProcessor()
|
||||
);
|
||||
return R.ok().put("orderSn", timeId);
|
||||
return R.ok().put("orderSn", timeId).put("money",buyOrder.getRealMoney());
|
||||
}
|
||||
|
||||
private boolean usePeanutCoin(MyUserEntity user, BigDecimal totalPrice) {
|
||||
|
||||
@@ -46,4 +46,6 @@ public class CourseEntity {
|
||||
private Integer level;
|
||||
@TableField(exist = false)
|
||||
private Integer selective;
|
||||
@TableField(exist = false)
|
||||
private boolean isBuy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user