|
|
@ -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)) { |
|
|
|