From 76845ad173ea83841285598e2a569f19e443aa61 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期一, 17 三月 2025 10:46:45 +0800
Subject: [PATCH] 修改购买会员判断逻辑

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java
index e6d49d2..bcd53a4 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java
@@ -354,10 +354,10 @@
         if(byId.getReveal() == 0){
             return R.ok("无效的会员");
         }
-        if(1 == buyType && byId.getMonthlyCardDiscountReveal() == 0){
+        if(1 == buyType && byId.getMonthlyCardReveal() == 0){
             return R.ok("无效的会员");
         }
-        if(2 == buyType && byId.getSeasonCardDiscountReveal() == 0){
+        if(2 == buyType && byId.getSeasonCardReveal() == 0){
             return R.ok("无效的会员");
         }
         if(3 == buyType && byId.getAnnualCardReveal() == 0){

--
Gitblit v1.7.1