补充说明文档
This commit is contained in:
@@ -44,7 +44,7 @@ public class PaymentCacheService {
|
||||
|
||||
if (ObjectUtil.isNotEmpty(payment)) {
|
||||
log.debug("从缓存获取支付配置成功: {}", primaryKey);
|
||||
return payment;
|
||||
// return payment;
|
||||
}
|
||||
|
||||
// 2. 如果 Payment:1* 格式不存在,尝试原有格式
|
||||
@@ -55,7 +55,7 @@ public class PaymentCacheService {
|
||||
log.debug("从兜底缓存获取支付配置成功: {}", fallbackKey);
|
||||
// 将查询结果缓存到 Payment:1* 格式
|
||||
redisUtil.set(primaryKey, payment);
|
||||
return payment;
|
||||
// return payment;
|
||||
}
|
||||
|
||||
// 3. 最后从数据库查询
|
||||
|
||||
Reference in New Issue
Block a user