Commit d9b913a7dd1131b4d9f08bb9796afeab75b01ea2
1 parent
87126d83
【功能修复】全局:访问日志的 query 查询未记录到的问题
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/apilog/core/filter/ApiAccessLogFilter.java
| ... | ... | @@ -181,7 +181,7 @@ public class ApiAccessLogFilter extends ApiRequestFilter { |
| 181 | 181 | // ========== 请求和响应的脱敏逻辑,移除类似 password、token 等敏感字段 ========== |
| 182 | 182 | |
| 183 | 183 | private static String sanitizeMap(Map<String, ?> map, String[] sanitizeKeys) { |
| 184 | - if (CollUtil.isNotEmpty(map)) { | |
| 184 | + if (CollUtil.isEmpty(map)) { | |
| 185 | 185 | return null; |
| 186 | 186 | } |
| 187 | 187 | if (sanitizeKeys != null) { | ... | ... |