SKILL 修复

This commit is contained in:
tianfeng 2026-05-27 12:05:54 +08:00
parent b86e7515f0
commit 712153896a

View File

@ -207,6 +207,7 @@ D:\datasource\git\bin\git.exe -C D:\workspace\likei-services push origin {branch
- 外部服务返回值是否有 `isSuccess()` + `getBody() != null` 双重检查
- `Integer` / `Long` 类型是否用了 `==` 比较(必须用 `Objects.equals`
- `Optional` 链是否有 `.orElse()` 兜底
- 外部接口返回的集合类型为 `Collection` 时,调用 `subList` / `sort` / `indexOf``List` 专有方法前必须先转为 `new ArrayList<>(collection)`
### 幂等与并发
- `changeBalance` / 余额变动类接口是否有幂等保护Redis `setIfAbsent` 或 requestId 标记)