feat: V1.1 - 问题一修复

This commit is contained in:
2026-08-03 11:03:22 +08:00
parent 182e49c4e1
commit 69d581f034
11 changed files with 671 additions and 145 deletions

View File

@@ -226,8 +226,12 @@ mode: block
| W01 | `redisUtil.insert(key, JSON.toJSONString(x), ttl)` | 已启用 |
| W02 | `redisTemplate.opsForValue().set(key, JSON.toJSONString(x), ...)` | 已启用 |
| W03 | `stringRedisTemplate.opsForValue().set(key, JsonUtil.getObjectToString(x), ...)` | 已启用 |
| W04 | `redisTemplate.opsForValue().set(key, obj, ...)` 直写对象 | 已启用Phase 2 |
| W05 | `redisTemplate.opsForHash().put(key, field, obj)` | 已启用Phase 2 |
| W04 | `redisTemplate.opsForValue().set(key, obj, ...)` 直写对象 | 已启用**V1.1** 忽略 `String`/数字/布尔等标量,且 value 须为本仓库可解析类型 |
| W05 | `redisTemplate.opsForHash().put(key, field, obj)` | 已启用;过滤规则同 W04 |
| W01~W03 补充 | 局部 `String json = toJSONString(x)``set/insert` | **V1.1** unwrap 到 `x` |
| 空 Schema 闸门 | 新增/删除写入点且 Schema 为空 | **V1.1** 分析层直接丢弃不发「value 新增为 {}」 |
以上收敛为工具默认行为,**无额外配置开关**。升级 jar 即生效。
业务仓可通过只声明子集暂时关闭某些模式,例如仅保留 JSON 写入: