docs(plan): 微信小程序登录修复实施计划

8 个任务,TDD 风格,频繁 commit:

- Task 1: WechatApiException 异常类(30 行)
- Task 2: WechatApiLoggingInterceptor 拦截器 + 4 个脱敏单元测试(60 行)
- Task 3: WechatResponseErrorHandler 错误处理器(30 行)
- Task 4: 重写 RestTemplateConfig 统一 Bean(13 → 40 行)
- Task 5: 重写 code2Session 五步防御 + 8 个单元测试(49 → 90 行)
- Task 6: application.yml 移除 app-id/app-secret 硬编码(2 行)
- Task 7: GlobalExceptionHandler 新增 WechatApiException handler(+25 行)
- Task 8: 端到端验证(mvn + 部署 + H5 + 脱敏检查 + 回滚测试)

总计约 280 行 Java + 2 行 YAML。每个任务独立 commit 便于回滚。

执行方式:Subagent-Driven(用户已选)
依赖技能:superpowers:subagent-driven-development
This commit is contained in:
2026-06-03 22:18:11 +08:00
parent 82c308b40a
commit 070e7dfbd9
File diff suppressed because it is too large Load Diff