Procházet zdrojové kódy

chore: auto bump version and changelog [skip ci]

iwt před 2 měsíci
rodič
revize
e44ac70127

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-1f14c283b126478178b9e148b5cce3d9cce29e9d
+aa0c2d16840e82fb952e92a5c435b401ab3cda40

+ 6 - 0
cfc-web/CHANGELOG.md

@@ -1,6 +1,12 @@
 # 更新日志 (Changelog)
 
 此文件记录所有构建版本的变更。
+## v1.0.146 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
 ## v1.0.145 (2026-07-10)
 
 ### Bug 修复

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.144",
+  "version": "1.0.147",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.144",
+      "version": "1.0.147",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.145",
+  "version": "1.0.148",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 1115 - 83
cfc-web/public/CHANGELOG.md

@@ -1,83 +1,1115 @@
-# 文档变更记录
-
-## 2026-06-14 — 文档归档整理
-
-### 变更说明
-
-为消除开发干扰,将历史需求和设计文档迁移至 `docs/backup/`,主目录仅保留最新版本的文档。
-
-### 保留的文档
-
-| 目录 | 文件 | 说明 |
-|------|------|------|
-| `需求分析/` | `底签页面详细设计.md` | 5个 TabBar 页面详细设计 v2.0(含首页/身泰/心智/行远/富沛) |
-| | `TabBar重构需求.md` | 5-Tab 重构原始需求 |
-| | `健康能量设计.md` | 五维能量系统设计 |
-| | `会员与销售体系设计.md` | 会员等级与销售体系 |
-| `系统设计/` | `小程序页面重设计划.md` | 小程序页面改造规划 |
-| `设计/` | `角色权限-UC矩阵-v2.md` | 角色权限矩阵 |
-| `superpowers/specs/` | `2026-06-13-five-dimension-pages-redesign.md` | **三页统一改造设计**(含堆叠图、游客模式、权限模型) |
-| | `2026-06-04-pre-login-discovery-design.md` | 登录前浏览设计 |
-| | `2026-06-02-care-family-club-design.md` | 平台升级设计规格(哲学/架构) |
-| | `2026-06-05-five-dimension-energy-design.md` | 五维能量系统设计 |
-| | `2026-06-08-article-publishing-system-design.md` | 文章发布系统设计 |
-| | `2026-06-08-five-dimension-wuxing-philosophy.md` | 五行哲学对照 |
-| `superpowers/plans/` | `2026-06-13-five-dimension-pages-redesign.md` | **三页改造实施计划**(10 Task) |
-| | `2026-06-13-guest-mode-implementation.md` | **游客模式实施计划**(10 Task) |
-| | `2026-06-12-danshop-integration-design.md` | DanShop 电商集成设计(P0) |
-| | `2026-06-11-5-tab-pages.md` | 5 TabBar 页面实施计划 |
-
-## 2026-06-14 — 行远页新增「重要关系维护」功能
-
-### 变更说明
-
-行远(行动/木)页新增关系维护模块,用于管理用户的重要人际关系(家人/朋友/伴侣/同事等),支持从手机通讯录导入联系人。
-
-### 新增文件
-
-| 文件 | 类型 | 说明 |
-|------|:----:|------|
-| `docs/superpowers/specs/2026-06-14-action-page-relationship-design.md` | 设计 | 关系维护功能设计 |
-| `docs/superpowers/plans/2026-06-14-action-page-relationship.md` | 计划 | 关系维护实施计划 |
-| `cfc-backend/.../entity/Contact.java` | entity | 通讯录关系实体 |
-| `cfc-backend/.../service/ContactService.java` | service | 关系 CRUD + 导入逻辑 |
-| `cfc-backend/.../controller/ContactController.java` | controller | 关系 API 接口 |
-| `cfc-frontend/components/ContactCard.vue` | component | 关系卡片组件 |
-| `cfc-frontend/components/ContactImport.vue` | component | 通讯录导入浮层 |
-| `cfc-frontend/pages/action/contact-detail.vue` | page | 关系详情/编辑页 |
-
-### 核心设计决策
-
-| 决策 | 选择 |
-|------|------|
-| 关系归属维度 | **行远(行动)** — 五行属木,对应"关系践行、社群连接" |
-| 联系人导入 | 微信 `wx.chooseContact` + 后端查重 + 补充信息浮层 |
-| 亲密度 | 0-100 数值,根据 contactCount / lastContactAt 自动计算 + 用户可 ±20 微调 |
-| 关系区块位置 | 行远页「今日待办」与「热门活动」之间 |
-| 生日提醒 | 近期生日在卡片上标注"还有 N 天",后续可扩展推送 |
-| 互动记录 | 后端记录每次查看/编辑联系人(可选手动标记"联系了") |
-
----
-
-### 核心设计决策(最新)
-
-| 决策 | 选择 |
-|------|------|
-| TabBar 5页 | 首页 / 身泰 / 心智 / 行远 / 富沛(始终可见) |
-| 首页角色分流 | 游客→发现页 / parent-index / child-index / teacher-index→收归 parent-index |
-| 心智双维度展示 | **堆叠图**:一根柱叠加心能量+智能量 |
-| 私密活动可见性 | `visibility` + `visibleScope`(family/role/user) + `visibleTo` 三字段 |
-| 游客价格 | 隐藏数值,显示"登录查看" |
-| 游客空数据 | 显示「登录后查看更多」占位 |
-| 后端过滤 | 根据 JWT + userId/role/familyId 统一过滤 |
-| 行远页新增 | 重要关系维护 + 通讯录导入 |
-
-### 已归档(移至 `docs/backup/`)
-
-| 原位置 | 文件 |
-|--------|------|
-| 需求分析/ | v1.2-心智增强-版本计划/阶段总结, 底签页面内容设计(旧版), 需求分析文档, 领域对比分析×4 |
-| 系统设计/ | 心知家庭-系统设计报告(.docx/.md) |
-| superpowers/specs/ | 2026-03/05/06月历史specs 共13个 |
-| superpowers/plans/ | 2026-03/05/06月历史plans 共23个 |
-| docs/根目录 | requirements-analysis.md, API-INTEGRATION.md, badge/dan/guide/report/task-requirements, 参考资料, product-plan, plans |
+# 更新日志 (Changelog)
+
+此文件记录所有构建版本的变更。
+## v1.0.148 (2026-07-10)
+
+### 新功能
+- 确定性差距修复 - P0全部 + P1部分完成
+
+### 其他
+- - G7: FamilyAccessInterceptor familyId 入参校验
+- - G1: 五维能量分数持久化 (five_dimension_scores)
+- - G18: 首次vs最新测评对比端点
+- - G8: 视角切换统一 + 密码校验
+- - G9: 邀请码过期/次数/吊销
+- - G2: 测评订单 results_ready 联动
+- - G13: 地址数据库导入骨架
+- 
+
+
+## v1.0.146 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.145 (2026-07-10)
+
+### Bug 修复
+- 修复退款失败 - package_orders表缺少user_coupon_id列
+
+### 其他
+- - schema.sql: package_orders建表语句同步添加user_coupon_id列
+- 
+
+
+## v1.0.143 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.142 (2026-07-10)
+
+### Bug 修复
+- add missing PpointService for CommissionService compilation
+
+### 新功能
+- 一生一世家庭会员订阅系统 - 编译修复与完善
+
+### 其他
+- - 创建缺失的 PpointService (被 CommissionService 引用)
+- - 修复 FamilyAccessInterceptor 两处编译错误
+-   - 添加缺失 @Component import
+-   - HandlerMapping.PATH_VARIABLES_ATTR → 字符串字面量
+- - MemberSubscriptionService 实现 P-point 消费返利
+-   - subscribe/renew 时 L1 推荐人获消费返利 (L1=20%, L2=40%)
+- - DatabaseInitializer 添加迁移69: promotion_tier_config 表 + R0-R4 种子数据
+- New files:
+- - PpointService.java
+- - FamilyAccessInterceptor.java (家庭数据访问安全拦截器)
+- - RequestBodyCachingFilter.java (body 缓存供拦截器使用)
+- - AdminSubscriptionController.java
+- - FiveDimensionScoreService.java + entity/mapper (五维能量持久化)
+- 
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.140 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.139 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.136 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.133 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.130 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.129 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.128 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.127 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.126 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.125 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.124 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.123 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.122 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.121 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.120 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.119 (2026-07-10)
+
+### Bug 修复
+- specs字段规范化为合法JSON避免MySQL JSON列报错
+
+### 其他
+-   将 "颜色:红色;尺码:M" 文本格式转为 {"颜色":"红色","尺码":"M"} JSON
+- - 前端 ProductSkuEditor handleSave 发送前同样做前端规范化
+- - 根因: product_skus.specs 列为 MySQL JSON NOT NULL, 前端输入普通文本被拒绝
+- 
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.118 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.117 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.116 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.115 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.114 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.113 (2026-07-10)
+
+### 重构
+- 全代码库替换术语 分销→销售 分润→返利 裂变→推荐 分佣→佣金
+
+### 其他
+- - 前端小程序(cfc-frontend)会员页用户可见文本
+- - PPT 生成器脚本及输出(5 个生成器 + 确定性PPT)
+- - Java 后端 Swagger 描述、错误消息、日志、注释
+- - SQL schema COMMENT 和段注释
+- - Web 管理端路由和 API 注释
+- - 所有设计文档/需求文档/Spec 文档
+- - 测试文件描述和官网文稿
+- 保留不变:数据库表名/列名、Java 类名/方法名/变量名等技术标识符
+- 
+- - Update imports in guide/plans/detail.vue and guide/plans/index.vue
+- - Remove AssessmentOrderController and related tests (moved to DanAssessmentController)
+- - Resolve merge conflicts in cfc-web
+- 
+
+### Bug 修复
+- resolve getPlanDetail duplicate declaration and clean up assessment controllers
+- getTrendStats send {} to avoid axios stringify undefined
+
+
+## v1.0.112 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+### Bug 修复
+- 用原生 button @click 替换 el-button 绕过组件事件问题
+
+### 其他
+- 
+
+
+## v1.0.111 (2026-07-10)
+
+### Bug 修复
+- knowledge layout — wrap body, add status filter dropdown
+
+
+## v1.0.109 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.108 (2026-07-10)
+
+### 其他
+- debug: 添加原生 button 对比测试点击事件
+- 
+
+
+## v1.0.106 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.105 (2026-07-10)
+
+### 文档
+- 添加 superpowers 设计文档与确定性修复计划
+- 添加融资计划书演示文稿(PreA/PreA+轮)
+- 融资计划书PPT内容方案更新至 v1.0
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+
+## v1.0.104 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.103 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.102 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.101 (2026-07-10)
+
+### 重构
+- remove login gate from activity/product/article detail pages
+
+### 其他
+- Prices visible before/after login. Login only required for booking, placing orders, adding to cart.
+- 
+
+
+## v1.0.99 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.98 (2026-07-10)
+
+### 新功能
+- DAN测评市场转化全链路实现(Phase 1-5)
+
+### 其他
+- - AssessmentProduct实体/Mapper/Service/Controller
+- - 管理端测评商品管理页面 + 规划师端测评商品页
+- - 测评额度配额管理与扣减服务
+- - 商品SKU/促销层级/推荐树实体与迁移
+- Phase 2 - 购买与执行解耦:
+- - 预约-支付-执行分离流程
+- - AssessmentQuotaService额度扣减逻辑
+- - 预约确认/取消/支付回调
+- - 前端预约页+额度页+上传页
+- Phase 3 - 报告双通道+结构化指导:
+- - AssessmentReportController(上传/确认/指导意见)
+- - GrowthGuidanceService结构化指导意见
+- - ReportParseService PDF解析
+- - 家长上传报告+规划师录入结果双通道
+- Phase 4 - 方案生成引擎:
+- - AssessmentPlanRule规则引擎(维度×分数区间匹配)
+- - AssessmentPlanGenerator自动方案生成
+- - AdminPlanRuleController规则CRUD
+- - 迁移63-66: assessment_plan_rule建表 + TaskPlanInstance扩展字段
+- - 管理端方案规则配置页 + 方案管理看板
+- Phase 5 - 方案审核与执行:
+- - PlanReviewController(规划师方案列表/审核/激活)
+- - PlanActivationService激活生成待办任务
+- - 规划师小程序方案审核页+详情页
+- - 修复既存asyncDeepParse编译错误
+- 新增: 会员订阅/积分体系/商城商品管理等基础设施
+- 
+
+
+## v1.0.97 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.96 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+### Bug 修复
+- el-link 点击事件改用 .native 修饰符
+
+### 其他
+- 
+
+
+## v1.0.94 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.93 (2026-07-10)
+
+### 重构
+- remove reading timer from article detail
+
+### 其他
+- Ultraworked with Sisyphus
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+
+## v1.0.92 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.91 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- 新增 Vue.use(Link) 注册 Link 组件
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+-   防御性判空: 增加 !trim().isEmpty() 检查, 避免空字串  传入 Long.valueOf()
+- 
+
+### Bug 修复
+- 注册 Element UI Link 组件使变更日志可点击
+- AdminArticleController 空字串转Long抛NumberFormatException
+
+
+## v1.0.89 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.88 (2026-07-10)
+
+### 文档
+- add DAN assessment market transformation plan — full 5-phase design
+
+
+## v1.0.87 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.86 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- 新增服务器运行状态: 运行时长、CPU 使用率、JVM 内存占用, 数据来自后端 /api/system/health 接口
+- 已在 mounted 中调用 loadServerHealth() 自动加载
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+### Bug 修复
+- 系统状态卡片增加变更日志入口与服务器运行监控
+
+
+## v1.0.84 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.83 (2026-07-10)
+
+### 新功能
+- tongue diagnosis as health report type
+
+### 其他
+- - report-confirm.vue: add tongue indicators card, route confirm to confirmTongue
+- - report-list.vue: add tongue badge display
+- - body/index.vue: redirect tongue entry to report-upload?reportType=tongue
+- - tongue-index.vue: deprecate — redirect to new report flow
+- - api.js: parseReportPreview accepts optional type param
+- 
+
+
+## v1.0.82 (2026-07-10)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.81 (2026-07-10)
+
+### 新功能
+- AI管家会话管理 - ButlerSession实体/服务/控制器 + 迁移42
+- 统一四个Tab页面的家庭关系卡片组件 + 齿轮图进入成员维护
+
+### 其他
+- - 新增 ButlerSessionMapper (MyBatis-Plus)
+- - 新增 ButlerSessionService (CRUD/归档/上下文管理)
+- - 新增 ButlerController (/api/ai/butler/sessions/* 6端点)
+- - DatabaseInitializer 迁移42: 创建 butler_sessions 表
+- - schema.sql 同步更新
+- 
+
+
+## v1.0.80 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.79 (2026-07-09)
+
+### 新功能
+- emotion checkin add video capture + enhanced AI simulation
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+
+## v1.0.78 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.77 (2026-07-09)
+
+### 文档
+- 一生一世家庭会员设计方案 v1.1 + 双并行实施计划
+
+### 其他
+- - 拆分为两个并行实施计划:
+-   Plan 1: 订阅+推广核心(P0+P1, 12-15天)
+-   Plan 2: AI+管家+推荐引擎(P0b+P2+P3, 15-20天)
+- - Plan 2 通过 Stub/Provider 模式与 Plan 1 解耦,可完全并行开发
+- 
+
+
+## v1.0.76 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.75 (2026-07-09)
+
+### 新功能
+- 五维幸福矩阵『身』由『主动健康』更名为『根基永固』
+
+
+## v1.0.74 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.73 (2026-07-09)
+
+### 新功能
+- split admin/teacher dashboards, enrich admin with 8 stat cards, ECharts charts, system health panel, 8 quick actions
+
+### 其他
+- - Rewrite Dashboard.vue to admin-only (875 lines) with expanded stats
+- - Add getDashboardOverview() API for /api/stats/overview
+- - Add ECharts trend chart (user/family growth) and membership pie chart
+- - Replace system info with enriched health panel (status, version, refresh)
+- - Expand quick actions from 4 to 8 (4x2 gradient icon grid)
+- - Register /teacher-dashboard route, update router guard for teacher redirect
+- - Make sidebar '首页' menu path dynamic based on role
+- - Update AGENTS.md with new dashboard architecture
+- 
+
+
+## v1.0.72 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.71 (2026-07-09)
+
+### 新功能
+- purchase field config UI + consignee mini-program pages (P2-P3)
+
+
+## v1.0.70 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.69 (2026-07-09)
+
+### Bug 修复
+- convert content-bearing VARCHAR columns to TEXT to prevent Data too long errors
+
+### 其他
+-   audit_reason, summary, advice, overall_assessment, config_value fields
+-   from VARCHAR(255/500/200) to TEXT across ~40 tables
+- - Added idempotent modifyColumnToText() migrations in DatabaseInitializer
+-   (~55 ALTER TABLE MODIFY COLUMN calls) for production database sync
+- - Primary fix: activities.description was the original crash site but
+-   many other columns had the same truncation risk
+- 
+
+
+## v1.0.68 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.67 (2026-07-09)
+
+### Bug 修复
+- show family relation graph card even with single member
+
+### 其他
+- so the card displays for families with only 1 member. the canvas
+- drawing already guards against drawing lines when < 2 members.
+- 
+
+
+## v1.0.66 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.65 (2026-07-09)
+
+### Bug 修复
+- connect after-sales request and product order refund flows
+
+### 其他
+- admin order management can find refunding orders (was filtering by
+- order.status='refunding' but after-sales was stored in separate table).
+- ProductOrderService.approveRefund/rejectRefund now syncs back to
+- AfterSalesRequest.status so mini-program after-sales list stays in sync.
+- ProductOrderDTO.from() now carries refund/logistics fields that were
+- previously omitted, so admin refund dialog shows refund reason.
+- 
+
+
+## v1.0.64 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.63 (2026-07-09)
+
+### Bug 修复
+- restore DatabaseInitializer encoding and fix ActivityController tests
+
+### 其他
+- - ActivityControllerTest.java: add missing 'role' parameter to create/update/publish/end calls
+- Ultraworked with Sisyphus (https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.62 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.61 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.60 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.59 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.58 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.57 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.56 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.55 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.54 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.53 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.52 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.51 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.50 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.49 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.48 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.47 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.46 (2026-07-09)
+
+### Bug 修复
+- 修复 numsoul_config 种子数据语法错误(缺失引号和逗号)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.45 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.44 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.43 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.42 (2026-07-09)
+
+### 新功能
+- enhance health reports page and add draft audit UI
+
+### 其他
+- - HealthReportAudit.vue: new draft audit page with detail dialog (indicators/gut flora/disease risk tabs)
+- - Router + sidebar: register /health-report-audit route and menu entry
+- Ultraworked with Sisyphus (https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- - HealthReportController: add POST /api/health/report/admin-list endpoint
+- - HealthReportService: add listAllReportsForAdmin() with childName resolution
+- - UpdateUserDTO: fix stale git conflict markers
+- Ultraworked with Sisyphus (https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+### Bug 修复
+- improve health report scoring and add admin report list
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.41 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.40 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+### 其他
+- sync: merge E2E test stash from cfclub branch (AGENTS.md, package-lock, test report)
+
+### 测试
+- fix e2e test runner - mini-games Playwright syntax, admin-panel URL, baseURL
+- improve E2E test robustness and simplify DAN assessment flow
+
+### 文档
+- update E2E test results documentation
+
+### Bug 修复
+- repair playwright baseURL, add test scripts and lockfile
+- resolve merge conflict in DatabaseInitializer, add mascot to UpdateUserDTO
+
+
+## v1.0.39 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.38 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.37 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.36 (2026-07-09)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.35 (2026-07-09)
+
+### 新功能
+- consignee + purchase field module (migration, entity, mapper, service, controller)
+- add admin activity creation and management features
+- family members empty state — always show as entry point
+
+### 其他
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- - 添加 → 导航到 /pages/family/add-member
+- - 邀请 → 打开邀请弹窗
+- - family-header 在无 familyName 时显示 '我的家庭' 占位
+- - 筛选后无结果时仍显示 '暂无家长/暂无孩子' 提示
+- 
+- 
+- - Unify formatTime to t.replace('T',' ').substring(0,19) pattern
+- - Replace new Date().toLocaleString() with consistent T-replace in
+-   OrderManage/WithdrawAudit/EmotionAlertManage/ProductManage
+- 
+- - Uses table-scroll-wrap CSS classes (overflow:auto + max-height)
+- - Inline overflow:auto;max-height style on pages without class wrapper
+- 
+
+### Bug 修复
+- add role-based permission checks to activity endpoints
+- 补齐个人信息保存缺失的 idCard/mascot 映射
+- normalize time format to YYYY-MM-DD HH:mm:ss across admin pages
+- complete scroll wrapper for all 59 pages with fixed=right columns
+
+### 工程化
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.34 (2026-07-08)
+
+### 重构
+- unify admin page styles with global CSS design tokens
+- merge wechatLogin and wechatPhoneLogin, capture phone from WeChat
+
+### 其他
+- - Import admin-tokens.css globally in main.js
+- - Refactor ~33 admin pages to use standard classes:
+-   - admin-page-header / admin-page-title / admin-page-actions for card headers
+-   - table-scroll-wrap(-sm/-lg) for table containers
+-   - pagination-wrap for pagination
+-   - filter-bar for search/filter bars
+-   - Remove inline width/height/float styles
+- - Update ActivityEdit, ProductEdit with proper header layout
+- - Fix ActivityReview, Assessment (syntax error fix)
+- - Remove duplicate scoped CSS for filter-bar, header patterns
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+### 工程化
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+- auto bump version and changelog [skip ci]
+
+### 文档
+- add article system redesign design document
+
+### 新功能
+- redesign article-center with search/nav/dimension-param; enhance mind/articles with search and unified detail
+- unify article entry points to article-center
+- redesign family-members page with gear entry, detail modal, edit permissions
+- add /api/family/member/editable endpoint
+- add FamilyRelationshipService, refactor FamilyMemberService for bidirectional relations
+- add family_relationships table with entity/mapper/migration
+
+### Bug 修复
+- revert error-throwing, keep auto-create for unidentified users
+- prevent auto-create user when openid not found and no phoneCode
+- wechatLogin use real code2Session API instead of mock openid
+- validate openid before WeChat prepay - reject phone-prefixed/mock openid (resolves PARAM_ERROR 无效的openid)
+
+
+## v1.0.31 (2026-07-08)
+
+### Bug 修复
+- add missing wangEditor Toolbar component to enable rich text editing
+- add overflow:auto scroll wrapper to all 58 pages with fixed=right columns
+
+### 其他
+- - Fix prop name from :config to :defaultConfig (wangEditor Vue2 API)
+- - Add toolbarConfig for Toolbar component initialization
+- - Add missing @wangeditor/editor CSS import to ArticleEdit and ActivityEdit
+- - Add editor CSS styles (rich-editor border, toolbar wrap, text-container min-height)
+- 
+- - All 58 Vue pages with fixed="right" columns now have horizontal scroll container
+- - Pattern: div wrapper with overflow:auto;max-height:calc(100vh - 300px)
+- 
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.29 (2026-07-08)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.27 (2026-07-08)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.25 (2026-07-08)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+
+## v1.0.24 (2026-07-08)
+
+### 工程化
+- auto bump version and changelog [skip ci]
+
+### Bug 修复
+- admin UI improvements - action dropdown, scroll, labels, confirm dialogs
+
+### 其他
+- - Layout.vue 全局滚动修复(overflow-y:auto 覆盖所有 admin-page 编辑页)
+- - 搜索框"全部"选项改为语义标签(11 页面:「全部状态」「全部分类」等)
+- - 状态变更操作增加  确认 + 自动 loadList() 刷新
+- - 活动列表 flex 布局 + 滚动 CSS 修复
+- 
+
+
+## v1.0.21 (2026-07-08)
+
+### 工程化
+- bump to v1.0.20
+
+
+## v1.0.20 (2026-07-08)
+
+### 新功能
+- radar chart dual-line support (avg + user cognitive scores)
+
+### 其他
+- - Shows gray dashed avg line behind user's indigo filled polygon
+- - 6 dims: perception/focus/memory/logic/spatial/processing speed
+- 
+
+
+## v1.0.19 (2026-07-08)
+
+### 新功能
+- radar chart dual-line support (avg + user scores)
+
+### 其他
+- - New _drawAvgScoreArea() method renders average as background layer
+- - Body page passes mock avg scores alongside user dimension scores
+- - Avg scores: [72,68,75,70,73,69,71] for 7 dimensions
+- - Without user data, only avg line shows; with data, both lines visible
+- 
+- - Add console logs for tracking dimension data loading flow
+- - Helps diagnose radar chart not rendering when no child selected or API fails
+- 
+- - Bump package.json version 1.0.11 → 1.0.17
+- - Update .last_build_commit to latest build
+- - web/index.html: update Clarity tracking ID, remove duplicate inline script
+- 
+
+### Bug 修复
+- guard loadHealthDimensions on activeChildId + debug logs
+- add table overflow scroll to admin pages
+
+### 工程化
+- clean CHANGELOG, bump version to 1.0.17, update Clarity tracking ID
+
+
+## v1.0.18 (2026-07-08)
+
+### Bug 修复
+- guard loadHealthDimensions on activeChildId + debug logs
+- add table overflow scroll to admin pages
+
+### 其他
+- - Add console logs for tracking dimension data loading flow
+- - Helps diagnose radar chart not rendering when no child selected or API fails
+- 
+- - Bump package.json version 1.0.11 → 1.0.17
+- - Update .last_build_commit to latest build
+- - web/index.html: update Clarity tracking ID, remove duplicate inline script
+- 
+
+### 工程化
+- clean CHANGELOG, bump version to 1.0.17, update Clarity tracking ID
+
+
+## v1.0.18 (2026-07-08)
+
+## v1.0.18 (2026-07-08)
+
+### Bug 修复
+- Dashboard.vue: 替换 CSS Grid 为 flexbox(.td-quick-actions、.td-today-stats)
+- Dashboard.vue: teacher API null/undefined 守卫,防止 Promise.all catch 后访问 undefined 属性
+- Dashboard.vue: el-progress 进度环空值容错(parseFloat fallback)
+- Dashboard.vue: 改进 Markdown 解析器,支持代码块、列表、标题、加粗/斜体/链接
+- 闭合括号格式错误导致构建失败
+
+## v1.0.17 (2026-07-08)
+
+### Bug 修复
+- ArticleService.recordRead: null userId 守卫,防止 creator_id NOT NULL 异常
+- TeacherDashboard: 添加 null/undefined 守卫
+
+### 新功能
+- Dashboard.vue 全面优化:CSS grid → flexbox、API 错误处理、进度条容错、Markdown 解析器增强
+
+### 其他
+- omf 插件更新至最新版本
+- web/index.html: Clarity 追踪 ID 更新 (xbtkn3d56w → xj4p74ra9m),移除重复内联脚本

+ 1 - 1
cfc-web/scripts/generate-changelog.js

@@ -21,7 +21,7 @@ if (!version) {
 }
 
 const lastBuildFile = path.join(rootDir, '.last_build_commit');
-const changelogFile = path.join(rootDir, 'CHANGELOG.md');
+const changelogFile = path.join(rootDir, 'public', 'CHANGELOG.md');
 
 // 获取上次构建 commit hash
 let fromHash = '';