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