From 708b39ffcc6665aa90f351e9822d18ad41dd2e82 Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Wed, 21 Oct 2026 11:46:25 +0800 Subject: [PATCH] =?UTF-8?q?docs(progress):=20=E8=AE=B0=E5=BD=95=20K85=20?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E6=95=B0=E5=8C=BF=E5=90=8D=E6=94=BE=E8=A1=8C?= =?UTF-8?q?=E8=A1=A5=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/plans/PROGRESS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/plans/PROGRESS.md b/docs/plans/PROGRESS.md index aae6097..ca95fdc 100644 --- a/docs/plans/PROGRESS.md +++ b/docs/plans/PROGRESS.md @@ -22958,3 +22958,13 @@ $ flutter test ``` 解读:客户端静态检查零告警;494 条测试通过,2 条需要本机联调服务的用例按既有保护跳过。K85 A/B 均已完成合并与推送,真机验收由用户执行。 + +## 2026-10-21 K85 补修:评论数接口匿名放行 + +- 验收问题:`GET /app/comments/count` 未登录调用返回业务码 401。 +- 根因:`SecurityConfig` 只放行评论列表 `GET /app/comments`,新增的 `/app/comments/count` 落入默认登录校验。 +- 修复:增加 `GET /app/comments/count` 的 `permitAll()`,保持评论列表与评论总数一致的匿名只读语义;发布、删除等写接口仍要求登录。 +- 新增 `AppCommentCountAnonymousSecurityTest`,装配真实 `SecurityConfig` 安全过滤链,未登录请求必须进入控制器并返回 `code=0`,避免仅测控制器时漏掉路由放行问题。 +- 定向安全链测试通过:`Tests run: 1, Failures: 0, Errors: 0`。 +- 功能提交:`7579d31 fix(security): 放行评论数接口匿名访问`。 +- 完整门禁通过:JDK 21 下 14 个模块 `BUILD SUCCESS`,app-api `Tests run: 69, Failures: 0, Errors: 0`;全仓仅保留既有 ffmpeg smoke 用例 1 条环境跳过。