SKILL 修复
This commit is contained in:
parent
b86e7515f0
commit
712153896a
@ -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 标记)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user