补充说明文档

This commit is contained in:
2025-07-28 11:13:06 +08:00
parent 9b08ad04f6
commit cf4fb430d8
2 changed files with 288 additions and 2 deletions

View File

@@ -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. 最后从数据库查询