parent
cf0ef82376
commit
69322f5b6a
|
|
@ -162,7 +162,7 @@ public class MiniPayApiController {
|
||||||
String openId = user.getWxOpenId();
|
String openId = user.getWxOpenId();
|
||||||
BigDecimal skuPrice = yxVipSku.getSkuPrice();
|
BigDecimal skuPrice = yxVipSku.getSkuPrice();
|
||||||
BigDecimal totalAmount = skuPrice.multiply(YxConstant.bigDecimal100);
|
BigDecimal totalAmount = skuPrice.multiply(YxConstant.bigDecimal100);
|
||||||
/*totalAmount = YxConstant.bigDecimal100;*/
|
// totalAmount = YxConstant.bigDecimal100;
|
||||||
|
|
||||||
String description = "艺体志愿宝VIP";
|
String description = "艺体志愿宝VIP";
|
||||||
if (StringUtils.isNotBlank(yxVipSku.getSkuName())) {
|
if (StringUtils.isNotBlank(yxVipSku.getSkuName())) {
|
||||||
|
|
@ -401,8 +401,8 @@ public class MiniPayApiController {
|
||||||
// 执行更改订单状态
|
// 执行更改订单状态
|
||||||
YxOrder yxOrder = yxOrderService.updateRefund(orderCode, cpRefundNo, refundNo, refundAmount);
|
YxOrder yxOrder = yxOrderService.updateRefund(orderCode, cpRefundNo, refundNo, refundAmount);
|
||||||
// 更改当前用户的状态
|
// 更改当前用户的状态
|
||||||
if(yxOrder!=null &&StringUtils.isNotBlank(yxOrder.getCreateBy())){
|
if(yxOrder!=null &&StringUtils.isNotBlank(yxOrder.getPaymentUserId())){
|
||||||
miniUserService.logoutUser(yxOrder.getCreateBy());
|
miniUserService.logoutUser(yxOrder.getPaymentUserId());
|
||||||
}
|
}
|
||||||
|
|
||||||
response.setStatus(200);
|
response.setStatus(200);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue