|
@@ -553,9 +553,9 @@ public class UserPaymentCoreServiceImpl implements UserPaymentCoreService {
|
|
|
redisCacheService.saveUserOrderConfig(String.valueOf(orderReq.getUserId()), orderReq.getOrderType().getCode(), reqConfig.jsonString());
|
|
|
|
|
|
// 若订单无需支付,直接完成订单,VIP购买
|
|
|
- /*if (BigDecimal.ZERO.compareTo(orderReq.getPaymentCashAmount()) == 0 && EPaymentType.VIP == orderReq.getOrderType()) {
|
|
|
+ if (BigDecimal.ZERO.compareTo(orderReq.getPaymentCashAmount()) == 0) {
|
|
|
executePaymentSuccess(orderReq, null);
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
return UserPaymentOrderWrapper.PaymentConfig.builder()
|
|
|
.orderNo(orderReq.getOrderNo())
|