From b1fb83530b7105e4aa73e4101727dea945eb01c2 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 29 八月 2025 21:48:15 +0800
Subject: [PATCH] bug修改

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

diff --git a/cloud-server-account/src/main/java/com/dsh/account/controller/FinanceController.java b/cloud-server-account/src/main/java/com/dsh/account/controller/FinanceController.java
index 0b173ea..bf0e37a 100644
--- a/cloud-server-account/src/main/java/com/dsh/account/controller/FinanceController.java
+++ b/cloud-server-account/src/main/java/com/dsh/account/controller/FinanceController.java
@@ -6,6 +6,7 @@
 import com.dsh.account.entity.RechargeRecords;
 import com.dsh.account.entity.TAppUser;
 import com.dsh.account.entity.VipPayment;
+import com.dsh.account.feignclient.activity.UserConponClient;
 import com.dsh.account.model.IncomeQuery;
 import com.dsh.account.model.dto.VipPaymentDto;
 import com.dsh.account.model.dto.VipRefundDto;
@@ -38,6 +39,8 @@
     private IVipPaymentService vipPaymentService;
     @Autowired
     private TAppUserService appUserService;
+    @Autowired
+    private UserConponClient userConponClient;
 
 
     /**
@@ -109,6 +112,8 @@
         appUserService.updateById(appUser);
         vipPayment.setPayStatus(3);
         vipPaymentService.updateById(vipPayment);
+        // 将未使用的门票优惠券设置为已过期
+        userConponClient.setStatusVipDetail(vipPayment.getId());
         return "200";
     }
 

--
Gitblit v1.7.1