From 156b3bc3387f2eb2d2815dfc33a86590dbe5d002 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 26 八月 2025 22:06:08 +0800
Subject: [PATCH] 硬件回调

---
 cloud-server-activity/src/main/java/com/dsh/activity/controller/UserCouponController.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cloud-server-activity/src/main/java/com/dsh/activity/controller/UserCouponController.java b/cloud-server-activity/src/main/java/com/dsh/activity/controller/UserCouponController.java
index d1b71e2..3963a6a 100644
--- a/cloud-server-activity/src/main/java/com/dsh/activity/controller/UserCouponController.java
+++ b/cloud-server-activity/src/main/java/com/dsh/activity/controller/UserCouponController.java
@@ -360,6 +360,7 @@
                     vipDetail.setUserCouponId(userCoupon.getId());
                     vipDetailService.save(vipDetail);
                     userCoupon.setVipDetailId(vipDetail.getId());
+                    userCoupon.setUserId(null);
                     userCouponService.updateById(userCoupon);
                 }
             }

--
Gitblit v1.7.1