From 20d244d34c6fdca8318d2b63a24101b25bd81744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 29 Jul 2025 13:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=EF=BC=8C=E5=85=BC=E5=AE=B9=E5=85=AC=E9=92=A5=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/gxwebsoft/common/core/service/PaymentCacheService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gxwebsoft/common/core/service/PaymentCacheService.java b/src/main/java/com/gxwebsoft/common/core/service/PaymentCacheService.java index 74c307e..4a25f74 100644 --- a/src/main/java/com/gxwebsoft/common/core/service/PaymentCacheService.java +++ b/src/main/java/com/gxwebsoft/common/core/service/PaymentCacheService.java @@ -39,7 +39,7 @@ public class PaymentCacheService { */ public Payment getPaymentConfig(Integer payType, Integer tenantId) { // 1. 优先使用 Payment:1{payType} 格式的缓存键 - String primaryKey = "Payment:1" + payType; + String primaryKey = "Payment:1:" + tenantId; Payment payment = redisUtil.get(primaryKey, Payment.class); if (ObjectUtil.isNotEmpty(payment)) {