perf: 集成 Spring Cache,优化查询用户昵称性能

This commit is contained in:
2023-08-15 22:58:44 +08:00
parent 6a35c00b7a
commit b23b00d02a
4 changed files with 20 additions and 0 deletions

View File

@@ -42,4 +42,9 @@ public class CacheConsts {
* 限流键前缀
*/
public static final String LIMIT_KEY_PREFIX = "LIMIT";
/**
* 用户缓存键前缀
*/
public static final String USER_KEY_PREFIX = "USER";
}