项目名称修改,性能优化,结构优化

This commit is contained in:
2026-07-01 11:52:27 +08:00
parent c7114a4381
commit e358a01ee7
35 changed files with 567 additions and 239 deletions
@@ -56,6 +56,20 @@ public class RedisKeys {
return "sys:user:permissions:" + userId;
}
/**
* 站点列表缓存Key(按部门权限区分)
*/
public static String getStationListKey(Long deptId) {
return "weather:station:list:" + deptId;
}
/**
* 站点列表缓存匹配模式(站点变更时清除所有部门缓存)
*/
public static String getStationListPattern() {
return "weather:station:list:*";
}
/**
* 天气汇总缓存Key(按站点分组,月-日维度)
*/