支付参数4

This commit is contained in:
2026-01-15 14:08:57 +08:00
parent df72bad0dc
commit b3a161d643

View File

@@ -36,7 +36,7 @@ public class VipPayController {
private ShopUserPayService shopUserPayService; private ShopUserPayService shopUserPayService;
@Resource @Resource
private OrderPaymentService orderPaymentService; private OrderPaymentService paymentService;
/** /**
* 现金充值 * 现金充值
@@ -79,9 +79,6 @@ public class VipPayController {
/** /**
* 智慧充值 * 智慧充值
* @param request
* @param rechargeDTO
* @return
*/ */
@PostMapping("/recharge") @PostMapping("/recharge")
@Debounce(value = "#rechargeDTO.shopUserId") @Debounce(value = "#rechargeDTO.shopUserId")
@@ -95,9 +92,6 @@ public class VipPayController {
/** /**
* 会员购买支付 * 会员购买支付
* @param request
* @param payParam
* @return
*/ */
@PostMapping("/ltPayMember") @PostMapping("/ltPayMember")
@Debounce(value = "#payParam.shopUserId") @Debounce(value = "#payParam.shopUserId")
@@ -175,7 +169,7 @@ public class VipPayController {
AssertUtil.isNull(shopId, "店铺id不能为空"); AssertUtil.isNull(shopId, "店铺id不能为空");
AssertUtil.isBlank(payOrderNo, "支付单号不能为空"); AssertUtil.isBlank(payOrderNo, "支付单号不能为空");
OrderPayment payment = orderPaymentService.getOne(QueryWrapper.create().eq(OrderPayment::getOrderNo, payOrderNo)); OrderPayment payment = paymentService.getOne(QueryWrapper.create().eq(OrderPayment::getOrderNo, payOrderNo));
if (payment == null) { if (payment == null) {
return CzgResult.failure("支付单号不存在"); return CzgResult.failure("支付单号不存在");
} }