From 98d5b05329e3164359e5b9e75a482de4cb21e221 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期四, 16 一月 2025 16:29:02 +0800 Subject: [PATCH] 加密 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java index bd3ec88..16ca460 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java @@ -83,12 +83,10 @@ //秒杀活动 if(null != jumpType1 && 4 == jumpType1){ SeckillActivityInfo activityInfo = seckillActivityInfoService.getById(banner.getContent()); - if(null == activityInfo || activityInfo.getDelFlag() == 1){ + if(null == activityInfo || activityInfo.getDelFlag() == 1 || !activityInfo.getVipIds().contains(vipId.toString())){ banner.setJumpType(1); } - if(!activityInfo.getVipIds().contains(vipId.toString())){ - banner.setJumpType(1); - } + } } return R.ok(list); -- Gitblit v1.7.1