mirror of https://gitee.com/stylefeng/roses
【7.3.2】【cache】优化key的格式规范
parent
245b05e94a
commit
000fb3fb89
|
@ -173,7 +173,7 @@ public interface CacheOperatorApi<T> {
|
||||||
if (StrUtil.isBlank(keyParam)) {
|
if (StrUtil.isBlank(keyParam)) {
|
||||||
return tenantPrefix + CACHE_DELIMITER + getCommonKeyPrefix();
|
return tenantPrefix + CACHE_DELIMITER + getCommonKeyPrefix();
|
||||||
} else {
|
} else {
|
||||||
return tenantPrefix + CACHE_DELIMITER + getCommonKeyPrefix() + keyParam.toUpperCase();
|
return tenantPrefix + CACHE_DELIMITER + getCommonKeyPrefix() + CACHE_DELIMITER + keyParam.toUpperCase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue