From e5255462003ba4dcb91ebcbda266c5ad9e413bff Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期三, 27 八月 2025 09:06:28 +0800
Subject: [PATCH] 硬件回调

---
 cloud-server-account/src/main/java/com/dsh/account/service/impl/VipPaymentServiceImpl.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cloud-server-account/src/main/java/com/dsh/account/service/impl/VipPaymentServiceImpl.java b/cloud-server-account/src/main/java/com/dsh/account/service/impl/VipPaymentServiceImpl.java
index fab2ff4..6734e97 100644
--- a/cloud-server-account/src/main/java/com/dsh/account/service/impl/VipPaymentServiceImpl.java
+++ b/cloud-server-account/src/main/java/com/dsh/account/service/impl/VipPaymentServiceImpl.java
@@ -272,9 +272,10 @@
 
         if (StringUtils.hasLength(couponJson)) {
             grantCoupon.setCouponJson(couponJson);
-            grantCoupon.setUserId(vipPayment1.getAppUserId());
-            grantCoupon.setVipPaymentId(vipPayment1.getId());
         }
+        grantCoupon.setVipId(vipPayment1.getVipId());
+        grantCoupon.setUserId(vipPayment1.getAppUserId());
+        grantCoupon.setVipPaymentId(vipPayment1.getId());
         String ticketJson = vipPayment1.getTicketJson();
         if (StringUtils.hasLength(ticketJson)) {
             grantCoupon.setTicketJson(ticketJson);

--
Gitblit v1.7.1