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

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

diff --git a/cloud-server-account/src/main/java/com/dsh/account/controller/AppUserController.java b/cloud-server-account/src/main/java/com/dsh/account/controller/AppUserController.java
index c217927..b491797 100644
--- a/cloud-server-account/src/main/java/com/dsh/account/controller/AppUserController.java
+++ b/cloud-server-account/src/main/java/com/dsh/account/controller/AppUserController.java
@@ -474,6 +474,7 @@
             VipPaymentVO res = new VipPaymentVO();
             res.setHeadImg(appUser.getHeadImg());
             res.setName(appUser.getName());
+            res.setVipEndTime(appUser.getVipEndTime());
             if (appUser.getVipEndTime()==null){
                 res.setIsVip(0);
             }else if (appUser.getVipEndTime().before(new Date())){
@@ -484,11 +485,13 @@
             appUserService.updateById(appUser);
             List<Vip> vips = vipClient.listAll();
             res.setVipList(vips);
+
+            return ResultUtil.success(res);
+
         } catch (Exception e) {
             e.printStackTrace();
             return ResultUtil.runErr();
         }
-        return ResultUtil.success();
     }
 
 //

--
Gitblit v1.7.1