first commit

This commit is contained in:
yangzhaohan
2026-06-22 15:52:26 +08:00
commit 2f552baa5f
11 changed files with 205 additions and 0 deletions
@@ -0,0 +1,13 @@
package {{basePackage}}.cache;
/**
* 缓存 Key 构造器,禁止裸字符串拼接。
*/
public final class CacheKey {
private CacheKey() {
}
// TODO: 提供静态工厂方法构造带命名空间的缓存 Key
}
@@ -0,0 +1,10 @@
package {{basePackage}}.cache;
/**
* 统一缓存访问入口,屏蔽底层缓存实现。
*/
public interface CacheService {
// TODO: get / set / delete / exists 等方法签名
}