CHANGELOG.md 121 KB

更新日志 (Changelog)

此文件记录所有构建版本的变更。

v$(node (2026-07-07)

重构

  • rebuild admin dashboard

其他

  • - Use API module (getDashboardStats/getRevenueStats/getMembershipStats/getTrendStats)
  • - Element UI icons replacing emojis
  • - Section-level v-loading states
  • - ECharts lifecycle (dispose on destroy, resize handler)
  • - Recent tasks table from dashboard API
  • - Hover effects and responsive layout
  • - ~50 admin/9 teacher 页面统一添加 admin-page 样式类
  • - 所有列表/管理页添加 <=el-input> 关键字搜索
  • - 有分页的: keyword 传 API 参数
  • - 无分页的: computed filteredData 客户端过滤
  • - teacher 页面同时补齐 admin-page 类与面包屑样式
  • - DatabaseInitializer migration 34: ensureColumn for all missing columns
  • - familymember* (5): id, name, birthday, gender, age
  • - EMI psych (4): emotion, resilience, stress_coping, self_awareness
  • - Big Five (6): openness, conscientiousness, extraversion, agreeableness, neuroticism, big_five_overall
  • - child snapshot (20): name, birthday, gender, age, school, grade, grade_class, height, weight,
  • family_status, parent_degree, nation, province, city, district, address, single_child,
  • school_score, urgent_name, urgent_phone
  • - media (4): pics, videos, audio, audio_url
  • - extension (2): process_desc, result_desc
  • (修复Field doesn't have a default value错误)
  • - schema.sql同步: capability_role列+default_role列并存(兼容保留)
  • supply_settlement_detail 4张表 + product_orders追加supply_system_id/
  • supplier_id/supply_commission 3列+索引
  • - schema.sql: product_orders补列 + 追加4张新表定义
  • - supply_system_schema.sql: supplier_user_id→supplier_id(匹配实体) + 补充supply_commission
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • EnergyService.calculateBodyScore Unknown column 'subject_id' 错误)
  • - 迁移32: 创建supply_system/supply_system_member/supply_settlement/
  • supply_settlement_detail 4张表 + product_orders追加supply_system_id/
  • supplier_id/supply_commission 3列+索引 (修复OrderTimeoutCancelTask
  • Unknown column 'supply_system_id' 错误)
  • - ProductDTO.java: add deliveryMethod, rejectReason fields + from() mapping
  • - DatabaseInitializer: migration 32 - ensureColumn for delivery_method, category_id, distribution_system_id
  • - schema.sql: add 3 columns to products table DDL
  • - report-confirm.vue: add colored confidence badge + progress bar
  • - report-confirm.vue: add ranked candidate member list with similarity scores
  • - report-confirm.vue: add auto-create member form with pre-filled extracted data
  • 替代: import E from '@wangeditor/editor' + new E(domRef)
  • 移除: initEditor()方法、beforeDestroy editor.destroy()、editor: null data
  • 新增: editorConfig (MENU_CONF.uploadImage) 传入Editor组件
  • - Add Jupiter 12yr and Saturn 29.5yr cycle phase calculation
  • - Blend 60% Western + 40% Chinese zodiac with Tai Sui relation modifiers
  • - Update controller to accept birthMonth/birthDay, return full fusion result
  • - 6步标准流程:错误定位→查实体→检查schema.sql→加迁移→同步schema.sql→编译验证
  • - ensureColumn() 辅助方法优先使用
  • - 幂等性要求:所有迁移必须可重复执行
  • - 同步原则:schema.sql 与 DatabaseInitializer 保持最终一致
  • - 4种场景代码模板:ADD COLUMN / CREATE TABLE / ADD INDEX / MODIFY COLUMN

Bug 修复

  • FamilyRelationGraph 完善 + login/family-dashboard 页面更新
  • add dan_assessment_results missing columns - familyMember/EMI/Big Five/snapshot fields
  • relationship_types.capability_role 添加默认值
  • 迁移33 供应商分销体系(4新表+product_orders 3列)
  • health_reports补subject_id列 + 迁移32供商体系表(4张新表+product_orders 3列)
  • HealthEnergyConfig.vue 全角括号导致前端构建失败
  • add deliveryMethod/rejectReason/categoryId/distributionSystemId mappings - ProductEdit field alignment
  • 多页面综合修复 + 后端关系质量/能量同步 + 前端组件完善 - 后端: DatabaseInitializer/RelationshipQualityController/DimensionEnergySyncService - 前端组件: ContactImport/DimensionActivities 完善 - 页面: action/body/mind/wisdom/discover/health 各维度更新 - splash.vue 删除 - 新增 HealthEnergyConfig.vue 管理端页面 - router/Layout 同步更新
  • resolve rebase conflicts + update tests/docs
  • resolve .last_build_commit conflict
  • ProductEdit wangeditor 生产构建错误 — 改用 @wangeditor/editor-for-vue Vue组件替换programmatic API
  • product order stock check by product type (physical only)
  • resolve merge conflicts and sync build artifacts
  • create cart table migration and sync to schema.sql
  • add relationship score column migrations for family_members table
  • add require_registration, require_checkin_review, energy_penalty_unregistered migrations for activities table
  • add role_override column migration for family_members table
  • add default_role column migration for relationship_types table
  • add remaining child-specific column migrations for family_members table
  • activities表添加审核相关字段迁移(迁移25)
  • package.json 版本更新
  • add id_card column migration for family_members table

文档

  • rewrite root AGENTS.md - compact, high-signal, removes stale refs
  • 添加数据库迁移工作流规范

新功能

  • admin/teacher 页面全局搜索 + 统一 admin-page 样式
  • 心首页关键信息卡片 — 家庭+个人双栏概览
  • health report Phase 2 - match confidence, candidate selection, auto-create member
  • supplier distribution system - entities, services, controllers, and admin UI
  • fuse Western astrology with Chinese zodiac for annual energy calculation

v1.0.6 (2026-07-06)

Bug 修复

  • product order stock check by product type (physical only)
  • create cart table migration and sync to schema.sql
  • add relationship score column migrations for family_members table
  • add require_registration, require_checkin_review, energy_penalty_unregistered migrations for activities table
  • add role_override column migration for family_members table
  • add default_role column migration for relationship_types table
  • add remaining child-specific column migrations for family_members table
  • activities表添加审核相关字段迁移(迁移25)
  • package.json 版本更新
  • add id_card column migration for family_members table
  • resolve ArticleService.java merge conflict (autoGenerateTags + submitForReview/withdraw/reDraft)
  • 活动创建后弹窗提供继续添加/返回列表/直接发布选项 + 表单必填校验
  • TabTransition 默认 true 确保首次渲染即出现,消除页面框架闪现
  • 首次进入首页时 TabTransition 不应展示(由 splash overlay 覆盖)

新功能

  • fuse Western astrology with Chinese zodiac for annual energy calculation
  • 文章活动工作流状态管理前端页面
  • 文章活动工作流状态管理API
  • 饮食/文章管理完善 + 供需分发系统文档

其他

  • - Add Jupiter 12yr and Saturn 29.5yr cycle phase calculation
  • - Blend 60% Western + 40% Chinese zodiac with Tai Sui relation modifiers
  • - Update controller to accept birthMonth/birthDay, return full fusion result
  • - 6步标准流程:错误定位→查实体→检查schema.sql→加迁移→同步schema.sql→编译验证
  • - ensureColumn() 辅助方法优先使用
  • - 幂等性要求:所有迁移必须可重复执行
  • - 同步原则:schema.sql 与 DatabaseInitializer 保持最终一致
  • - 4种场景代码模板:ADD COLUMN / CREATE TABLE / ADD INDEX / MODIFY COLUMN
  • activity.js: 新增 getAdminList/updateStatus/batchUpdateStatus API
  • ArticleManage.vue: 新增状态筛选/审批操作列/排序拖拽/发布状态切换
  • ArticleEdit.vue: 优化表单校验/状态联动/发布时间记录
  • Activities.vue: 重构列表页 - 新增状态标签/审批弹窗/批量操作
  • ActivityEdit.vue: 优化表单 - 新增状态流转控制/发布时间
  • AdminArticleController: 新增文章管理分页/审核/排序端点
  • Activity: 新增 status/approvalStatus/remark/publishedAt 字段
  • ActivityAdminService: 新增分页查询 + 状态流转(待审核→发布/驳回/下架)
  • AdminActivityController: 新增活动管理完整CRUD + 状态审核端点
  • schema.sql: 新增 ACTIVITY_WAITING_APPROVAL 状态到状态约束

文档

  • 添加数据库迁移工作流规范

工程化

  • 构建版本更新 v1.0.5

v1.0.4 (2026-07-06)

Bug 修复

  • 活动创建后弹窗提供继续添加/返回列表/直接发布选项 + 表单必填校验
  • DimensionWeightPicker 拖动时按比例重新分配维持100%

新功能

  • ActivityEdit 表单校验 + 创建成功弹窗

其他

  • 1. 拖动某维度时其他维度同向变化
  • 2. 各维度独立0-100, 总和未保持100%
  • 修复: onWeightChange(changedCode) 将 100-newValue 按比例分配到
  • 其他维度, 确保总和恒为100%。移除 getMaxForDim / getRemaining。

v1.0.2 (2026-07-05)

新功能

  • update food-list.vue with full nutrition fields and recommendation index display
  • 自动版本号递增 + CHANGELOG.md 生成
  • add /api/health/foods/by-family endpoint and health report trigger for food index
  • add FoodRecommendController with index/history/by-family endpoints
  • add FoodRecommendService sourcing index from report scores
  • update Foods.vue table columns and dialog fields with full nutrition input
  • add FoodRecommendIndex and FoodRecommendIdxLog entities with mappers
  • add food_recommend_idx and food_recommend_idx_log tables, fix kcalPer100g JSON mapping
  • 订单详情页 + 订单/商品管理完善

Bug 修复

  • 环境配置更新
  • action/index.vue 集成 WuxingSandbox 能量沙盘
  • index.vue 闪屏逻辑优化 + api.js 中文注释编码修复
  • DatabaseInitializer 添加 family_member_id 和 role_override 列迁移
  • E2E tests for deployed admin at cfc.iwintrue.com/admin

重构

  • TabTransition 动态化 - 数据就绪后才自动消失
  • 合并工作台至首页,删除独立路由和菜单

其他

  • - scripts/generate-changelog.js: 从 git log 分类生成变更日志
  • - vue.config.js: 注入 VUE_APP_VERSION / VUE_APP_BUILD_TIME
  • - Dashboard.vue: 版本显示动态化 + 变更日志弹窗
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Fix playwright.config.js baseURL and viewport for desktop admin
  • - Add dev:h5/build:h5 scripts to cfc-frontend package.json
  • - Fix config.js truncated API URLs
  • - Add ensureLoggedIn() helper with auto-login flow for admin tests
  • - 删除 Layout.vue 侧边栏'工作台'菜单项
  • - 删除 TeacherDashboard.vue(内容已完整集成在 Dashboard.vue)
  • - fix: StatsController.java teacher_status 查询字段修复

v1.0.1 (2026-07-05)

新功能

  • add FoodRecommendService sourcing index from report scores
  • update Foods.vue table columns and dialog fields with full nutrition input
  • add FoodRecommendIndex and FoodRecommendIdxLog entities with mappers
  • add food_recommend_idx and food_recommend_idx_log tables, fix kcalPer100g JSON mapping
  • 商品管理前端 — 列表/分类/编辑/SKU组件 + DimensionWeightPicker修复
  • 新增商品管理 + 订单管理 API
  • 新增Cart/SystemConfig模块 + 家庭角色DTO/组件 + 设计文档 - 新增购物车实体/CartItemDTO/CartMapper/CartService - 新增系统配置实体/SystemConfigMapper/SystemConfigService - 新增家庭角色相关DTO(Create/Info/Update) + NutritionProfileService - 新增 FamilyRelationshipSection 前端组件 - 新增四维度首页及家庭成员角色系统重构方案文档
  • teacher dashboard + activity admin API enhancements
  • start.sh 支持本地外部配置,数据库凭据通过 -D 参数注入
  • after-sales system — apply/list/detail pages + mock logistics + profile/order entries
  • activity-detail 补充 formatDate 工具方法 + paid/checkin 状态增强
  • activity/activity-detail 报名同步增强 - formatDate / 付费不退费 / paying 状态
  • 活动详情页报名+签到全流程 + 付费确认 + 日期格式化 - 新增 formatDate() 方法统一日期显示格式 - 新增付费活动报名确认弹窗和退费说明 - 新增报名状态检查(pending/approved)、取消报名功能 - 新增签到状态管理和 checkinTime 渲染 - discover-detail 和 discover 双路径 activity-detail.vue 同步增强
  • 文章审核系统 + 商城完善 + 管理端升级
  • 新增 shop/index 店铺首页 + 修复 article-edit.vue :style 规范 - 新增 cfc-frontend/pages/shop/index/ 店铺分包含入口页面 - article-edit.vue: 将 :style 复杂内联表达式改为 dimStyle() 方法
  • add HealthDimensionsSection component for inline health dimensions display on body page
  • 创建身维度5个详情页面并绑定快捷入口
  • 替换EMI四维条形图为大五人格雷达图,右上角添加测试按钮
  • 活动模块后端+前端接入 - 初始化活动表/Product表字段扩展, DimensionActivities组件接入活动列表, 各维度页面导入getActivityList
  • add audit workflow to web admin panel
  • 简化 AIFloatingAvatar 组件 + 添加到各页面 + 更新 AGENTS.md - 移除 AIFloatingAvatar 脉冲动画,简化组件 - 在 body/index、index、mind、wisdom、profile、activity 页面添加悬浮头像 - AGENTS.md 新增 :class 绑定规则(小程序不支持方法调用)
  • add my-posts page with status badges
  • add article edit page with publish and draft
  • add article detail page with AI quiz
  • add article list page with tab navigation
  • register subpackage in pages.json + add API methods
  • add publish, my-posts, and audit endpoints
  • enhance activity list - view ended/published activities, disable edit for non-draft, click participant count to review registrations inline
  • add AI questions endpoint + submit answers with scoring
  • 规划师端活动管理 — 活动创建/编辑/发布
  • add article-center implementation plan
  • 补充AI对话和profile页面变更
  • add Article entity audit fields + ArticleQuizRecord
  • add article-center implementation plan
  • create activity home page with 3-tab structure
  • 添加活动中心页面子包注册
  • 新增心愿兑换积分检查和扣除方法
  • 成长记录新增getRecordsByChild接口
  • 新增grantEnergy和deductForWish接口
  • 重写DimensionWeightPicker为slider+数字输入,动态max限制总和≤100%
  • add 热门活动 and 推荐阅读 sections to index and body pages
  • redesign SharePoster with brand header, warm orange gradient, content card, and dimension dots
  • DataMigration controller and service adjustments
  • schema v6 with shop order columns migration
  • 修复打卡/能量接口 400/500 错误
  • 推广系统九大功能升级 (T1-T9)
  • add EmotionAlert admin management page with list and resolve actions
  • add getAdminAlerts method to EmotionAlertService for admin page pagination
  • auto-create follow_up on alert resolve in EmotionAlertService
  • auto-create follow_up record when crisis alert is resolved
  • push WeChat template notifications for high-severity alerts
  • add WechatAlertTemplateService for crisis alert push via WeChat template messages
  • 健康记录模块 — 日常打卡/成长记录/维度权重管理
  • 活动报名服务 + TrialMembership入门会员
  • 商城重构 — 订单生命周期/SKU/地址/退款/超时取消
  • 认知评估增强 — 行动清单/常模参考线/历史趋势/训练方案系统
  • FamilyRelationGraph升级compatibilityMap属性+mind首页入口路由更新
  • 新增family-dashboard家庭天盘页面+duo-compatibility双人合盘详情页
  • TraditionalMirrorController新增family-dashboard+compatibility两个端点
  • CompatibilityService算法引擎+9个DTO定义+FamilyMemberAttributeService fromJson/toJson公开
  • 兼容性数据表(entity+mapper)+schema seed(zodiac_pairing/blood_type_pairing/life_number_relationship)
  • 激活会员中心页面导航入口
  • redesign membership page with loading/error states
  • add Canvas-based trend charts and index page updates
  • upgrade emotion-checkin pages with 2D affect grid and Plutchik wheel
  • add PHQ-9/GAD-7 screening page and route
  • add PsychCrisisBanner component for crisis alerts
  • implement emotion alert service with risk detection
  • add emotion alert entity and VO
  • implement mental health screening service with PHQ-9/GAD-7 scoring
  • add mental health screening entities and DTOs
  • implement emotion checkin service with trend/report + alert wiring
  • add emotion entity fields and trend/scatter point DTOs
  • add fine-grained emotion fields to DTOs and VO
  • enhance virtual team management with invite controller and scheduled tasks
  • 浠宝/福宝IP形象系统 - 用户可选择AI助手形象,所有AI对话携带形象标识
  • 舌诊功能 + 身首页改造 + 全域指标管理
  • virtual team management + unified invite system
  • 关系健康概览 + controller familyId推导
  • 关系质量评估+互动记录+智慧维度临时页面
  • skip captcha verification in test mode (VUE_APP_SKIP_CAPTCHA=true)
  • two-phase health report upload with preview confirm page
  • 补全 Activities.vue 缺失字段 - 封面图上传/活动类型/地点/人数/价格/可见范围/签到积分
  • add AI emotion recognition to emotion-checkin page
  • add report draft module and food recommendation
  • skip captcha verification in test mode
  • move three pillars inside the product overview section
  • restructure sections - swap pillars before capabilities, rename
  • add happiness three pillars section with dimension mapping
  • add health-norm-config and health-data-source menu entries
  • admin controller, norm/data-source config views, tests
  • dimension questionnaire, detail page, and entry navigation
  • 数学闯关前端页面
  • 数学闯关后端服务
  • 新增肠脑轴情绪打卡功能
  • add EMI and Big Five personality fields to dan_assessment_results
  • 开屏splash页+tabbar切换过渡动画
  • 会员体系 + 推广裂变 + 优惠券 + 成长任务模块
  • add newbie task reward system with 6 task types
  • add health-dimensions navigation entry
  • wave 1 - trend, product-energy, dify, body energy integration
  • referral team features - team list, invite, share poster
  • wisdom dimension page redesign - 14-block full layout, cognitive report, self-quiz, training hub
  • 统一家庭成员管理 - 后端双表+前端统一入口+管理端CRUD
  • add ecommerce DDL blocks to DatabaseInitializer
  • add ecommerce DB schema tables, config, and design spec
  • migrate checkout/payment/logistics pages to CFC API
  • migrate address.vue and address-edit.vue to CFC API
  • migrate cart.vue to use CFC cart API
  • enhance ProductOrderService/Controller and add LogisticsController
  • refactor PaymentService with WeChat Pay V3 integration
  • enhance ProductService and ProductController
  • add AfterSales module (entity+mapper+service+controllers)
  • add UserAddress module (entity+mapper+service+controller+region)
  • add Cart backend module (entity+mapper+service+controller)
  • add Discount module (entity+mapper+service+controller)
  • add Distribution system module (entities+mappers+service+controller)
  • add ProductCategory module (entity+mapper+service+controllers)
  • add ProductOrder entity fields and OrderItemVO DTO
  • add Product entity fields (categoryId, distributionSystemId)
  • enhance web admin growth records with source type filter and new columns
  • refactor growth record frontend pages with source types, upload, and supplement
  • add growth record API functions and page registrations
  • add growth record upload, supplement, dedup-check endpoints
  • add report parsing service and growth record service with dedup
  • add growth record DB schema, entity fields, and PDFBox dependency
  • TabBar改文字+RelationshipPicker组件+编辑关系功能
  • health-dimensions-phase1 implementation + compile fixes
  • 活动管理功能完善——后端Service层+Web端CRUD+审核+小程序商品编辑
  • 产品区改为数据采集→数据分析→方案确认→执行跟踪闭环描述
  • 多源数据整合分析→健康档案,作为平台核心能力展示
  • DAN成长档案→成长档案,菌群检测→健康档案 统一产品命名
  • 新增运营推广文档与配置文件
  • 新增GEO专题页面并优化产品定位
  • 网站样式与交互优化
  • 数据库配置切换为本地连接
  • FAQ结构化数据扩展至20条,同步前端FAQ展示
  • add food recommendation API endpoint, FoodService.listByReportId, and frontend food display in health report
  • save food suitability data on health report creation; add reportId/score to Food entity
  • add food suitability parsing to PdfParseService
  • 登录页品牌升级 - 企业官网设计语言
  • add nutrition-related entities and mappers
  • 营养师管理页面与登录页优化
  • TabBar重构与健康报告页面
  • 营养评估与饮食推荐功能
  • 五维沙盘粒子流动画
  • 首次登录引导浮层组件
  • 开屏页与发现页五维价值传达
  • 登录页背景色改为品牌暖橙
  • add frontend components, docs assets and .gitignore for Python
  • Landing page optimization - Schema.org, FAQ, stats, testimonials, CTA, content
  • 更新企业官网品牌色系与Logo为天空蓝主题
  • add cfc-frontend/static assets (logo + tab icons)
  • 添加网站品牌 Logo 资源
  • 添加亿图腾企业官网页面
  • remove danshop subsystem
  • 家庭邀请二维码功能(小程序码+令牌+落地页)
  • implement diet recommendation system (frontend)
  • implement diet recommendation system (backend)
  • health report PDF upload + login redirect fix
  • article publish-review system + gut flora report parsing
  • add gut flora summary fields to health report schema and refactor mind page
  • register dimension store module in Vuex
  • add routes for dimension-config and knowledge-base
  • add dimension config and knowledge base admin pages
  • add dimension selector, tag selector, knowledge table and dialog components
  • add dimension and knowledge base API and Vuex store
  • add dimension config and knowledge base admin controllers
  • add knowledge base service with Dify sync support
  • add dimension config and knowledge tag services
  • add mybatis mappers for dimension and knowledge base
  • add dimension config and knowledge base entities
  • add nutritionist/teacher/admin views
  • add role-to-permission mapping utility
  • add multi-role JWT support (nutritionist/activity_admin/article_admin)
  • add nutrition chat UI to frontend
  • wire nutrition API into controllers + config
  • add health analysis & recommendation services
  • add nutrition recommendation DTOs
  • add multi-role support (nutritionist, activity_admin, article_admin)
  • 富沛(我的)页面改造 + 心愿单入口
  • 心智页添加心/智双Tab结构
  • CFC-DanShop集成 - 支付代理+批量迁移
  • add FamilyRelationGraph canvas component to body/mind/action pages
  • update web admin pages with slider captcha and format utils
  • update frontend pages, components and splash screen
  • update backend entities, services, DTOs and configs
  • add precision nutrition & health report survey flow
  • add showToFamily toggle in profile/child-edit, clean up mind page
  • add FamilyMemberCard/FamilyMemberStrip components, wire into pages
  • add contact management feature (ContactCard, ContactImport, contact-detail)
  • add showToFamily field to Child/User, update HealthReport
  • add getVisibleMembers and updateVisibility to UserService
  • configure Dify API key for AI chat
  • add showToFamily to ChildInfoDTO/UpdateChildDTO, create FamilyMemberVO
  • add show_to_family column migration to children and users tables
  • 心智模型重构 — DAN 70% + 先天 30% + 行为修正
  • 健康能量 v1.2 心智增强设计 + 会员分销/财富模块功能完善
  • migrate TabBar to 5-tab (首页/身体/心智/行动/我的), move shop→action path
  • add web admin pages for article management, energy sandbox, withdraw audit, profit rate
  • add energy/body/mind/promotion/stats pages, update existing pages for energy system
  • add frontend components, custom-tab-bar and global styles
  • restructure WeChat miniprogram with subPackages to fix error 80051 (source size 3172KB > 2MB)
  • update backend config, schema, entities and services for new modules
  • add backend services and controllers for energy/commission/article/badge/game/invite modules
  • add backend entities, mappers and DTOs for energy/commission/article/badge/game modules
  • 商城+服务商页面更新
  • 心愿模块+任务管理模块更新
  • 组件升级(claymorphism适配+PlayfulCard重构)
  • 重构心愿页
  • 重构家长端首页
  • 重构孩子端首页(claymorphism设计系统)
  • 统一品牌色系、基础样式与页面配置
  • Product/ProductOrder/SysConfig/Admin 后端 Controller
  • api.js 追加商品/订单/系统配置 API
  • SysConfig 实体/Mapper/Service 实现
  • ProductOrder 实体/Mapper/Service 实现
  • Product 实体/Mapper/DTO/Service 实现
  • 创建发现页作为登录前首页,未登录重定向
  • 提取五行沙盘为独立组件,替换首页内联实现
  • 商品/订单/系统配置 3 张表 DDL + 种子数据
  • Web管理端添加服务商审核页面(审核列表+通过/拒绝操作)
  • 个人中心添加会员中心/服务商中心入口及状态检测
  • 添加五行能量沙盘(溪艾福)组件和溪福俱乐部占位页面(发现/商城/入驻/中心)
  • 更新小程序TabBar(发现/商城)并注册溪福俱乐部页面路由和API
  • 实现服务商入驻/审核/查询API(入驻申请+审核列表+审核操作)
  • 用户实体添加服务商/家庭管理员字段并新增DB迁移
  • 实现模块 A-E 完整功能
  • 新增成长规划Controller、任务统计服务和申请记录实体
  • 小程序前端功能增强和重构
  • 规划师模块新增首页统计和家庭信息接口
  • 实现任务批量操作功能(TASK-016)
  • 添加任务时长字段(TASK-011)
  • 修复DataMigrationService性别映射、幂等性和日志
  • 重构Web管理端布局路由和API集成
  • 完善数据迁移服务和用户认证流程
  • 添加sfms多数据源配置和数据迁移服务
  • 补充测试用例并修复编译错误
  • 添加Service接口规范(TaskService,RewardService,UserService)
  • 实现成长规划师模块完整功能
  • 实现指导师功能完整迁移
  • 实现小游戏作为任务类型功能
  • 添加数据库字段运行时自动同步处理器(SchemaSyncHandler)
  • 实现心愿功能(wishes)替代rewards/reward_wishlists
  • 实现任务提醒和统计功能
  • 实现用户操作日志功能
  • 实现用户操作日志功能
  • 完善任务重复设置功能
  • 实现V1.2 P0需求
  • 更新需求文档需求细则
  • 更新需求文档(V1.2)
  • 添加自动化测试套件,实现100%需求覆盖
  • 实现小游戏积分系统、连续打卡功能及问题修复
  • 创建分层AGENTS.md文档系统
  • 完善Web管理端API和路由
  • 完善前端页面和组件
  • 新增指导师套餐和绑定功能控制器
  • 实现前端地址选择和区域匹配功能
  • 添加街道地址功能支持家庭和指导师区域匹配
  • 完善Web管理端页面和API集成
  • 新增实体类、Mapper和Service支持多媒体和会员功能
  • 添加用户角色选择、生日性别字段及家长孩子身份切换功能
  • add AGENTS.md files and fix AdminLoginDTO password field

Bug 修复

  • relationship_types 迁移 default_role → capability_role
  • 后端+前端全面修复 - ArticleService/EnergyService/DimensionArticles/FamilyRelationshipSection及多页面完善 - ArticleService: getAdminList 返回值修复 - EnergyService: getEnergyOverview 能量概览补全 - DimensionArticles: 修复文章组件 - FamilyRelationshipSection: 完善关系管理组件 - 多页面: action/mind/wisdom-detail/promotion 等页面更新
  • FamilyMemberVO/Service + family-members.vue 完善
  • 后端全面修复 - 实体字段、Controller参数、Service方法补齐 + DTO新增 \n- 修复字段类型不匹配(Long/Integer/String)\n- 补齐缺失的 import/方法/参数\n- 修改 @PostMapping 路由统一\n- 新增 Cart/CartItemDTO/SystemConfig 相关实体和Service\n- 重命名 ChildNutritionProfileService -> FamilyMemberNutritionProfileService\n- 修复测试用例
  • createUser — unique openid + try-catch exception handling
  • 测试编译错误修复 - ArticleService.getAdminList 参数补齐 + update 方法参数类型修正
  • 修复编译错误(重复字段 + 缺失import + 参数不匹配)
  • update deployment script and admin router/activity api
  • add auto-migration for articles audit fields in DatabaseInitializer
  • create missing HealthDimensionsSection component
  • DimensionArticles & FamilyRelationGraph show empty state
  • uncomment ALTER TABLE for article audit fields in schema.sql
  • DimensionProducts always shows section with empty state
  • resolve Bean name collision between GuideActivityService and ActivityService
  • wisdom index radar chart - loadCognitiveReport race condition
  • call loadCognitiveReport() inside loadChildren's .then callback,
  • resolve API naming conflict for activity guide endpoints and WXML :class compatibility
  • connect article-center entry from discover page + profile menu
  • 修复退出登录遮罩冲突, 添加beforeunload防护
  • correct article publish path in v8 final test
  • add article publish path endpoint + product_skus table auto-init
  • 修复退出登录确认框不显示、文章编辑页刷新弹出浏览器提示
  • fix body goMoreProducts URL - was wrongly set to type=activity instead of type=product by rebase auto-merge
  • always show more button in DimensionActivities, fix goMoreActivities URLs with type param
  • 修复Controller单元测试编译错误
  • 修复集成测试编译错误(适配生产API签名变更)
  • DailyCheckinService.updateCheckin改为Map参数,deleteCheckin增加userId参数
  • 修复NEW-01/02/03运行时API错误
  • login redirectTo + goMoreActivities/Products URLs with type filters
  • fix all tab pages - empty navigation methods, wrong paths, bad query params for goMoreActivities/goMoreProducts
  • remove DimensionProducts section from body page, fix goMoreProducts navigation
  • goShop navigates to correct product pages instead of broken action/index
  • relationship_types enabled 修复 + 清理 body/index.vue 冗余产品链接 - DatabaseInitializer: 启动时修复 enabled=NULL 的种子数据 - schema.sql: relationship_types INSERT 补上 enabled 列 - body/index.vue: 删除菌群检测产品链接区块, showTabTransition=true, 移除废弃方法 - RelationshipPicker.vue: 组件增强 - DimensionActivities.vue: 组件增强
  • small adjustment in ArticleManage.vue
  • repair broken tag in mall.vue, CSS rename and normLevel fix in cognitive-report, small adjustments to add-member and ProfileMenu
  • testMode flag skips private key loading
  • Login.vue success路径补上this.守卫
  • 修复后台登录成功后的崩溃bug (防止重复提交 + catch块防御)
  • 移除所有UTF-8 BOM - api.js + 3个shop页面
  • PaymentService添加@Lazy解决循环依赖
  • 心页快捷入口从一行改为两行布局
  • GrowthTaskManagement import path and function names
  • add resolvedAt to EmotionAlertVO in toVO() mapping in both services
  • add resolvedAt field to EmotionAlertVO
  • make crisis hotline clickable in PsychCrisisBanner via uni.makePhoneCall
  • add emotion_checkin missing columns (moodScore, stressLevel, arousalLevel, sleepHours, sleepQuality, energyLevel)
  • resolve schema migration gate, controller NPE, auth check, WeChat template message support
  • 修复编译错误 - ActivityRegistrationService toList(), ProductOrder/TrialMembership缺失字段, DanshopSyncService BOM
  • ISSUE-001 ProductService.shelve() 状态检查 & ISSUE-003 AdminController.createUser() 缺省值
  • 修复管理端侧边栏菜单滚动问题
  • 修复report-survey微信小程序finally不兼容问题
  • 修复文章发布500错误,补充detail接口及relatedDimensions类型转换
  • List.of()→Collections.emptyList() (JDK8兼容)
  • 解决ambiguous mapping冲突(List.of改Collections+删除productList/productReview重复端点)
  • 调整tabBar顺序为行心身智富(五行相生)
  • 移除 date-picker value-format 避免 400
  • Danshop迁移到cfc-backend + coupons/upgrade模板修复
  • 修复energyMapForGraph缺wisdomScore + 添加返回首页快捷按钮
  • resolve merge conflict + upgrade.vue template root element
  • add .pillar-card to scroll-reveal observer selector
  • restore and fix pre-existing test files for Java 8 compatibility
  • improve FIRST_TASK onboarding trigger to use task child ID
  • HealthDimensionScore/HealthDataSourceRecord 新表字段匹配
  • use PDDocument.load() instead of deprecated Loader class
  • 修复小程序登录后首页状态不更新 + TabBar图标缺失
  • FAQ精简为11个核心问题,修正文不对题;新增销售文案页 sales.html
  • 全站理念统一——精准健康方案→精准健康,SEM/FAQ/百科/策略同步
  • 精准健康方案→精准健康
  • 修正产品理念——健康档案/成长档案为容器,菌群/DAN测评为实际内容
  • remove danLevel field call causing compilation error and add PdfParseServiceTest (10 tests)
  • add missing memberType and danLevel fields to FamilyMemberVO
  • 修复 Profile 子组件 import 路径
  • Core function 识别诊断→科学识别 desc -3chars, 跟踪执行+5chars, 成果检验+5chars; enhance 菌群检测+精准健康; stats in about section
  • Move stats into about section; enhance 成长规划/菌群检测/精准健康 descriptions
  • Revamp about section into 企业使命/愿景/价值观; remove 40,000+ stats
  • Center QR code image
  • QR code 200px desktop, 160px mobile - correct media query placement
  • QR code to 200px; tighten role descriptions
  • Reduce QR code size to 100px (from 180px)
  • hero按钮统一蓝底黑字,消除点击困惑
  • 营养健康模块5项缺陷修复
  • 统一平台运营图标尺寸与对齐方式
  • refactor profile.vue into 6 components + remove duplicate loadRewards
  • resolve git conflict markers in router/index.js and fix Layout.vue computed syntax
  • add monthActiveDays to /api/stats/child/overview
  • unify all order ops to DanShop API
  • convert totalAmount fen→yuan before passing to payment page
  • unify DanShop order operations — cancel/confirm/pay now route to DanShop API not CFC
  • 修复首页10个实现问题(主页风险修复计划)
  • pre-login entry flow - fix page order, remove stale resetTabBar, fix goShop nav, add auto-login refresh
  • 根据登录状态显示/隐藏TabBar(未登录跳转发现页)
  • ProductOrderController 使用 @RequestAttribute 读取用户ID
  • ProductService.decreaseStock 改用原子 UPDATE 防止超卖
  • 数据库 schema 加 UNIQUE 约束 + 时间戳默认值 + 平台商品 vendor_id 置空
  • 修复登录限制和密码重置逻辑
  • 修复Task.java缩进和duration字段一致性
  • 批量操作添加用户认证和所有权检查
  • 修复SfmsDataSourceConfig配置前缀不匹配,去掉hikari层级
  • 批量修复API路由冲突和权限控制
  • 修复数据库迁移SQL语法错误和测试用例
  • 修复预存的编译错误(DTO类型不匹配,status值)
  • 修复预存的编译错误并添加Service接口规范
  • 注册teacher目录页面到pages.json
  • 修复tasks.vue和添加SchemaSyncHandler
  • 优化RewardService和pages.json路由配置
  • 修复跨Controller路由冲突(RewardWishlistController+TaskReminderController)
  • 批量修复GET→POST迁移导致的路由冲突(TeacherController+UserController)
  • 修复ParentController路由冲突(getParentWishlist路径改为wishlist/list)
  • 修复TaskTemplatePackageController路由冲突(getPackageItems路径改为item-list)
  • 统一处理参数校验异常返回
  • 补充createChild必填字段校验
  • 修正测试基类元素解析契约
  • 修复UserService.createChild空指针异常
  • 统一前后端API为POST请求(安全迁移)
  • 修复AdminController类型转换异常和数据库迁移缺失
  • tasks表child_id字段改为可空,支持parent任务
  • rewards表child_id字段允许NULL,修复模板奖励插入失败问题
  • 修复profile.vue模板格式
  • 切换孩子模式时检查孩子数量并引导添加
  • 优化手机号输入体验,11位自动触发检查
  • 修复孩子端导航返回逻辑及移除TabBar游戏入口
  • 修复RewardWishlistController API映射冲突
  • 添加admin_task_templates表teacher_id字段迁移
  • 修复TaskTemplatePackageController API映射冲突
  • 修复GuideController与GuideFamilyTaskController API路径冲突
  • 修复GuideController与BindInviteController API路径冲突
  • 修复schema.sql中ALTER TABLE重复执行错误
  • 修复数据库迁移重复执行错误
  • 修复Java 8编译兼容性问题
  • 修复小程序登录流程和用户编辑页跳转
  • 修复Controller层userId获取方式及多个API端点

其他

  • - 若存在 default_role 但无 capability_role,CHANGE COLUMN 重命名并保留数据
  • - 若两者均不存在,ADD COLUMN capability_role 默认值 parent
  • - 若 capability_role 已存在,跳过
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • 完全覆盖 JAR 内置值;config/ 目录存在时自动加载外部配置
  • - config/application.yml: 新增外部配置模板(数据库/JWT/微信/Dify)
  • - application.yml: 数据库凭据改为 CHANGEME* 占位符,避免内置生产密码
  • - ArticleAdminControllerTest.java: getAdminList mock 补齐参数,update 改用 Map 参数+Result
  • - AdminArticleControllerTest.java: getAdminList mock 补齐参数,update 改用 Map 参数+Result
  • - application.yml: datasource 切到本地 MariaDB (root/cfc123)
  • - PaymentOrder.java: 删除重复的 period 字段
  • - MembershipLevelDTO.java: 删除重复 priceQuarterly,补回缺失的 priceYearly
  • - MigrationController.java: 添加缺失的 java.util.Date import
  • - MembershipController.java: createOrder 调用补第6个参数
  • add VUE_APP_SKIP_CAPTCHA=true for admin build, use git pull --rebase instead of
  • fast-forward merge to handle diverging branches
  • - update activity API and router for admin
  • - cleanup Activities.vue and ArticleManage.vue
  • but the component file was not included. Create it with dimension grid
  • display, score bars, and navigation to detail pages.
  • - Article 实体新增 publishTime, viewCount, likeCount, shareCount 字段
  • - AdminArticleController 重构: 文章 CRUD + 状态机(草稿→待审→已发布/下线)
  • - ArticleService 新增: findByStatusPage, approve/publishArticle, updateViewCount
  • - CommissionController 新增 getTodayCommission
  • - MembershipController 新增按成长值排序接口
  • - MigrationController 新增 getTables, truncateTable 工具方法
  • - DatabaseInitializer 新增 schema_version 表, 版本化迁移, 9个复合索引
  • 小程序前端:
  • - articles.vue 新列表页(160行+), article-detail.vue 文章详情(255行+)
  • - shop/index 店铺首页(+24行), shop/detail 商品详情(+108行), shop/cart 购物车(+13行)
  • - 新增 shop/after-sales/ 售后申请页面, shop/after-sales-detail/ 售后详情页面
  • - promotion/index 推广页面(+167行), discover 页面调整(-10行改动)
  • - 修复 mind-index, body-index, wisdom-index 各页面 member-index 视角切换
  • 管理端:
  • - ArticleManage.vue 文章管理(69行+): 列表/搜索/状态筛选/上下架操作
  • - ArticleEdit.vue 文章编辑(48行+): 富文本编辑, 分类标签选择
  • - KnowledgeTag.vue Knowledge标签管理(134行+): 标签 CRUD
  • - Layout.vue 导航栏调整(-11行)
  • - router/index.js 新增 article/knowledge 路由
  • cfc-web: Element UI tree-shaking 优化配置
  • - 背景替换为暖棕渐变 (#1A0F00 → #4A3020)
  • - 五行沙盘 SVG → CSS 公转五维能量轮盘
  • - 中心家金色徽章 + 脉冲动画
  • - 五维色系节点: 身橙/智紫/富金/行绿/心粉
  • - role-tags 颜色更新: 家庭客户(紫)/服务商(粉)/平台运营(绿)
  • - 右侧表单区保持不变
  • cfc-frontend body/index.vue:
  • - RadarChart → HealthDimensionsSection 组件替换
  • - FamilyRelationGraph: add 暂无其他家庭成员 for 1-member case
  • - action/index.vue: remove outer v-if on FamilyRelationGraph so its
  • own empty state renders when no members
  • - Show 暂无商品 / 登录后查看更多商品 when empty
  • - Matches DimensionActivities empty state pattern
  • Spring @Resource name collision with ActivityService.activityMapper
  • - Rename GuideActivityController.activityService → guideActivityService for consistency
  • - Fix MessageBox prototype registration in cfc-web
  • - Add echarts dependency to cfc-web
  • - 均在 pages/health/ 分包下注册
  • - funcList 6个按钮全部绑定正确页面路径
  • - 修复舌诊路径缺失前缀问题
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • called immediately after in onShow, before activeChildId was set.
  • Result: activeChildId was still null → loadCognitiveReport returned
  • early → cognitiveReport stayed null → radar chart v-if never rendered.
  • after activeChildId is confirmed set (from storage or default to first child).
  • cleanup: remove inline AI entry card from parent-index (replaced by floating avatar)
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Add product_skus table creation to DatabaseInitializer (was manual-only)
  • - 新增 GuideActivity 实体 + guide_activities 表
  • - 新增 GuideActivityMapper / GuideActivityService
  • - 新增 GuideActivityController (7个端点: list/detail/create/update/publish/cancel/delete)
  • 前端:
  • - api.js 新增 7 个活动管理 API (getActivityList/detail/create/update/publish/cancel/delete)
  • - pages/guide/activities/index.vue — 活动列表 (筛选/新建/发布/取消/删除)
  • - pages/guide/activities/detail.vue — 活动详情页 (create模式+edit模式, 日期选择器, 分类选择)
  • - pages.json 注册 2 个新页面
  • 关键设计: 使用页面跳转 (navigateTo), 无 modal 弹窗, 符合 training-plans 模式
  • cfc-web: article read-only mode for published articles
  • - Edit: draft + never-published only
  • - View: published or ever-published (readonly)
  • - Copy: all states
  • ArticleEdit.vue:
  • - ?readonly=1 → read-only detail mode
  • - Published/ever-published → auto readonly
  • - handleCopyAsNew() for in-place copy
  • - Fix body, mind, wisdom goMoreActivities to use ?type=activity
  • - Fix wisdom goMoreProducts to use ?type=product
  • - Previously various targets: discover/index, discover/index?type=activity&dimension=*, or empty stubs
  • - Applies to: parent-index, child-index, body/, mind/, wisdom/, action/ pages
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • merge
  • - 用于心愿兑换时的积分原子性检查和扣除
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • ArticleAdminControllerTest: create()参数改为Map
  • FamilyMembersControllerTest: setMemberId改为setId
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • FamilyMemberManagementFlowTest: setRelationshipType/setNickname/setEnabled(Integer)/setRecordTitle
  • GrowthRecordSyncFlowTest: @Builder注解/parseReport/recordTitle/移除不存在的controller方法
  • ProductPurchaseFlowTest: setTotalAmount改为Integer/create返回Result包装
  • PlannerBindInviteFlowTest: setServicePrice(Integer)/unbindGuide变量名/setUserId移除/createGuideFamily签名
  • AssessmentOrderFlowTest: 移除不存在的getLatestResult方法
  • DailyCheckinStreakFlowTest: 移除checkAndGrantReward测试/updateCheckin改为Map参数/deleteCheckin(Long,Long)/setCheckinDate(Date)
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - AssessmentAppointmentService: 重构预约服务,删除冗余代码
  • - CreateWishDTO: 新增imageUrl/linkUrl/estimatedPrice字段支持商品型心愿
  • - PaymentService: 新增支付方法扩展
  • - PaymentServiceInterface: 接口同步更新
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - GrowthRecordService: 新增getRecordsByChild(Long childId)方法
  • - GrowthRecordServiceInterface: 接口同步更新
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - DailyCheckinService.deleteCheckin(): (Long) → (Long, Long)
  • - DailyCheckinController: update(Map)/delete(Map)适配新的service签名
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - EnergyService: 新增grantEnergy()(Long,Long,Long,String)和deductForWish(Long,Long,Long)方法
  • - 添加WishMapper依赖用于心愿兑换能量扣除
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - NEW-02: ProductSkuController.listByProduct() 添加productId空值校验防止NPE
  • - NEW-03: ActivityController.publish() 包装try-catch,返回Result.error()而非500
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • config: SfmsDataSourceConfig multi-datasource settings
  • - 新增活动报名/能量规则/商品SKU/订单生命周期/会员体系等新功能
  • - 新增6个完整E2E跨角色业务流程场景
  • - 从80个API用例扩展至120个需求驱动用户故事
  • - issue-tracking/README.md: 补充ISSUE-004/005/006根因分析
  • - 确认全部为测试数据缺失+测试脚本问题,非代码缺陷
  • - 核心根因: children表为空,31个测试家庭无孩子记录
  • - FinanceCheckinController create: 补充 checkinType 必填校验
  • - EnergyController overview: @RequestBody 改为 required=false + null 校验
  • 已清理: unpackage/dist所有缓存,强制重新编译
  • - T1: 会员试用机制 (TrialMembership + ScheduledTask)
  • - T2: 推广数据看板 (CommissionService + StatsController)
  • - T3: 组合套餐/订阅制 (MembershipLevel + PaymentOrder + 折扣体系)
  • - T4: 管理端数据大屏 (Dashboard + ECharts)
  • - T5: 内容裂变 (ShareEvent + ShareRead + 积分奖励)
  • - T6: 推广素材中心 (PromotionMaterial CRUD + 素材库页面)
  • - T7: 积分商城 (PointsExchange + 兑换记录 + mall页面)
  • - T8: 社交关系链 (ContactMatchRequest + 1对1匹配)
  • - T9: 用户分层运营 (UserRfmTag + UserTriggerRule + RFM计算)
  • 数据库迁移: DatabaseInitializer 新增 T5-T9 所有表
  • 前端: 新增 promotion/material.vue, points/mall.vue, membership/upgrade.vue, admin/Dashboard.vue
  • AdminController → ProductOrderService → PaymentService 循环
  • - func-list 拆分为 funcListRow1(前4个) 和 funcListRow2(后4个)
  • - 每行4个按钮均分宽度,图标文字更易读
  • - admin.js: add getEmotionAlertList and resolveEmotionAlert API endpoints
  • - router/index.js: add /emotion-alert route
  • - Layout.vue: add sidebar menu item for emotion alert management
  • - Auto-create FollowUp with 7-day due date and high priority on alert resolution
  • - Query familyId from Child table for follow_up association
  • - MentalHealthScreenService.submitScreen: push crisis alert for severe screening results or suicide ideation
  • - EmotionAlertController: fix NPE in condition checks, add admin role auth check, add /api/mind/admin/alert/list and /api/mind/admin/alert/resolve endpoints
  • - WechatService: add sendTemplateMessage() for alert push via WeChat template messages
  • - application.yml: add alert-template-id config
  • Implementation checklist complete:
  • ✓ DatabaseInitializer.java: version gate + DDL
  • ✓ EmotionAlertController.java: NPE fix + auth + admin endpoints
  • ✓ WechatService.java: sendTemplateMessage()
  • ✓ application.yml: alert-template-id
  • - 后端: 每日健康打卡、饮食/运动/睡眠/饮水记录实体
  • - cfc-web: DimensionWeightPicker 五维权重组件, 集成到活动/文章编辑
  • - cfc-web: 成长任务管理重构, 活动报名审核, 能量规则管理
  • - cfc-frontend: 身体页面 — 运动/睡眠/饮水/饮食记录, 成长曲线, 健康趋势
  • - TrialMembership: 入门会员体验实体与Mapper
  • - 前端页面调整(splash引导页改版)
  • - 调整支付回调路由至商城订单处理
  • - 新增订单发货(ship)/确认收货(confirmReceive)/取消(cancel)
  • - 新增配送方式(快递/自提)支持
  • - 新增ProductSku实体/CRUD/SKU选择器
  • - 新增UserAddress实体/CRUD
  • - 新增OrderItem实体/CRUD
  • - 新增退款申请/审批/拒绝流程
  • - 新增超时取消自动任务
  • - 新增库存乐观锁防超卖
  • - 前端:detail SKU选择器 / checkout skuId传参 / order-list退款操作
  • - 前端:goShop/goDetail导航修复(address已使用CFC API)
  • - SQL: 添加product_skus/user_addresses/order_items扩展表
  • 包含关联更新: Activity/Energy模块扩展, 会员试用TrialMembership实体
  • - 新增 cognitive-recommendations.yml(3-tier × 6维离线任务/游戏/文章推荐)
  • - 新增 CognitiveTrainingConfigService + CognitiveRecommendationDTO
  • - POST /api/cognitive/recommendations — 获取行动清单
  • - POST /api/cognitive/recommendations/create-task — 一键添加任务
  • - cognitive-report.vue 新增「家庭行动建议」区块
  • Phase B1 — 常模参考线
  • - 新增 CognitiveNorm 实体 + cognitive_norms 表 + 种子数据(6维×4年龄带)
  • - 新增 CognitiveNormMapper / CognitiveNormService
  • - POST /api/cognitive/norms — 返回百分位等级(较弱/偏弱/中等/良好/优秀)
  • - 条形图显示同龄中位参考线 + 等级标签
  • Phase B2 — 历史趋势
  • - 新增 CognitiveTrendItemDTO
  • - POST /api/cognitive/trend — 历史六维分数序列
  • - cognitive-report.vue 新增「历史趋势」区块(前后对比表)
  • Phase C — 训练方案系统(规划师端)
  • - 新增 TrainingPlan / TrainingPlanItem / TrainingPlanTask 实体 + schema
  • - 新增 TrainingPlanMapper / TrainingPlanService
  • — CRUD / generateFromRecommendations / deployPlan / getExecutionBoard
  • - 新增 TrainingPlanController(guide端9个端点)
  • - 前端: guide/training-plans/index.vue(列表/生成/下发/删除)
  • - 前端: guide/training-plans/detail.vue(编辑/看板模式)
  • - api.js 新增训练方案相关API(10个方法)
  • parallel via CompletableFuture (ThreadPoolExecutor). Frontend: Dashboard.vue
  • loads all data in one request instead of Promise.all(7).
  • - Add schema_version table for idempotent migrations (version >= 1 skips)
  • - Subsequent app starts: ~8s faster (no ALTER TABLE spam)
  • N queries (one per category) — eliminates N×categories DB roundtrips
  • - calcParentBody: batch-fetch health reports for all children via
  • HealthReportMapper.selectOne with IN(userIds) instead of loop
  • - Removed duplicate jdbc-url/credentials from hikari block (was overriding spring.datasource)
  • - Fixed TrainingPlanService: RecommendationItem -> DimensionRecommendation
  • 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
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 主包从 54 页减少至 21 页,符合微信 2MB 限制
  • - 更新 pages.json 配置匹配新的目录结构
  • - 更新 splash 页面使用项目 logo
  • - 修复 report-survey.vue 语法错误
  • - 新增 TongueRecord/IndicatorDefinition/IndicatorValue 实体 + Mapper
  • - 新增 IndicatorService + TongueDiagnosisService(两阶段舌诊流程)
  • - 扩展 AIService:sendTongueDiagnosis + mockTongueResult(开发模式)
  • - HealthReportController 增加 type=tongue 分支(parse/confirm/discard)
  • - 新增 IndicatorAdminController(指标管理 CRUD)
  • - 前端:tongue-index.vue 全流程页 + body/index.vue 雷达图 + func-grid 改舌诊
  • - 前端 API:4个新接口(parseTonguePreview/confirmTongue/discardTongue/getIndicatorDefinitions)
  • - cfc-web:indicators/index.vue 指标管理页 + 路由注册
  • - DistributionService: add getUserTeams, getTeamTree, getUserPosition,
  • getTeamMembers, updateMemberTeam methods
  • - AdminVirtualTeamController: 9 endpoints for virtual team CRUD + member mgmt
  • - cfc-web admin: VirtualTeamList.vue + VirtualTeamDetail.vue pages
  • - Router + sidebar: virtual team menu items under system config
  • pages.json: 重构小程序页面路由结构
  • Admin/Product/VendorController: @RequestHeader(X-User-Id)统一为@RequestAttribute(userId)
  • schema.sql: articles表增加article_type和word_count字段
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 重排页面区块顺序:RadarChart → 关系图谱 → 快捷入口 → 功能入口
  • - 移除WisdomTips组件引用及五个废弃区块(cognition-summary, highlight-card, tips-list, quick-actions, bottom-spacer)
  • - 创建DimensionArticles共享组件,遵循DimensionTasks/DimensionActivities/DimensionProducts模式
  • - 智页面推荐阅读区域改用DimensionArticles组件,去除模板重复
  • - permissions: nutritionist增加diet:*权限, 组级权限匹配(无冒号prefix)
  • - router: rewards perm改family:rewards, 新增wishes路由, 审核菜单perm细分(audit:package/guide/vendor)
  • - RelationshipQualityController: 注入UserMapper,getHealthAlerts/getMilestones
  • 从JWT token推导familyId,不再强求请求体传familyId
  • - 后端: DatabaseInitializer新增interaction_logs/relationship问卷表
  • - 后端: FamilyMember实体新增关系质量相关字段
  • - 前端: interaction-log.vue + relationship-questionnaire.vue页面
  • - 前端: family-members.vue关系编辑增强
  • - 前端: wisdom_temp/下5个临时页面
  • - 前端: pages.json注册新页面路由
  • - api.js: 移除danshopRequest/goodsCategory,所有danshop*函数改用request()
  • - coupons.vue: 添加statusClassMap computed替代方法调用
  • - upgrade.vue: 修复template单根元素+重新缩进
  • - 快捷操作区添加'返回首页'按钮及 goHome() 方法
  • - 添加 jest/playwright 测试配置
  • - 修复 membership/upgrade.vue 模板多根节点错误(wrapper 包裹)
  • - 表格新增列: 封面图/活动类型/地点/费用(元)/人数
  • - 复用 /api/admin/articles/upload/image 上传接口
  • - 价格前端用元展示,后端存分
  • - 后端 ActivityService 无需修改(已支持所有字段)
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Removed standalone #pillars section
  • - Removed nav link for #pillars (now accessible via 浠艾福)
  • - Renamed: 幸福三支柱 → 幸福支柱
  • - Renamed: 四大核心能力·数据到行动的闭环 → 核心能力
  • - Renamed: 五行相生相克 · 五维动态平衡 → 能量维度 (subtitle: 五大能量维度 · 动态平衡)
  • - Updated nav with new names and order
  • but the IntersectionObserver in main.js did not include .pillar-card in
  • its querySelectorAll list. The cards were never observed and never got
  • the .visible class, making them permanently invisible.
  • Three pillar cards with mapping to five dimensions:
  • - 衣食无忧 → 身 + 富 (保命保财, 家庭物理底盘)
  • - 受人尊敬 → 智 + 行 (内外兼修, 社会价值彰显)
  • - 子女传承 → 心 + 智 (爱与智慧, 传承有质量)
  • CSS: responsive pillar card layout with hover effects, dimension badge colors matching the five-dimension scheme, mobile breakpoints at 768px and 480px.
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 衣食无忧 → 身(根基)+ 富(源泉)
  • - 受人尊敬 → 智(内核)+ 行(外显)
  • - 子女传承 → 心(纽带)+ 智(质量)
  • 新增映射逻辑解读行,清晰说明每个目标如何落地到五维行动体系。
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 身强体健(身 · 主动健康):健康是一切幸福的根基
  • - 关系和谐(行 · 人际和谐):家庭幸福源于人际和谐
  • 原有三支柱(衣食无忧/子女传承/受人尊敬)保持不变。
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - dimension-config.vue: health norm config table with el-dialog edit
  • - data-source-config.vue: health data source CRUD table
  • - 3 unit test files (DimensionScoreService, ProductOrderService, DifySyncService)
  • - router: add /health-norm-config and /health-data-source routes
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • growth_plans/growth_records/task_templates等表,以及后端DTO/Entity/Service/Controller、
  • 前端页面和文档中的对应引用。
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - EMI: emotion_score, resilience_score, stress_coping_score, self_awareness_score
  • - Big Five: openness, conscientiousness, extraversion, agreeableness, neuroticism, big_five_overall_score
  • Also cleanup: remove leftover merge conflict markers from DatabaseInitializer and delete legacy UserAddressController (superseded by new module).
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 移除index.vue内联splash覆盖层(由独立splash.vue页面替代)
  • - 新增tab-transition.vue组件:五维品牌过渡(行/身/智/心/富)
  • - 5个tabbar页集成tab-transition:onShow时显示1.1秒过渡
  • - 修复health-dimensions.vue的getSpokeStyle方法调用兼容性
  • - 会员体系: MembershipService, PackagePaymentService, 会员升级/续费接口
  • - 推广裂变: ReferralLeaderboard(排行榜), InviteMilestone(里程碑), Coupon(优惠券)
  • - 成长任务: GrowthTask + GrowthTaskLog 实体/Service/Controller
  • - 分佣扩展: CommissionService 新增分佣逻辑
  • - 定时任务: LeaderboardWeeklyResetTask 每周排行榜重置
  • - 数据库: schema.sql 新增相关表结构
  • Frontend(小程序):
  • - 会员/推广: upgrade.vue, promotion/index.vue, invite.vue, leaderboard.vue
  • - 优惠券/成长任务: coupons.vue, daily-tasks.vue, onboarding.vue
  • - 导航/API: ProfileMenu 新增入口, api.js 新增接口
  • Admin(管理端):
  • - 优惠券管理 CouponManagement.vue
  • - 成长任务管理 GrowthTaskManagement.vue
  • - 推广管理 PromotionManagement.vue
  • - Layout/路由: 新增管理菜单项
  • 测试:
  • - e2e: test-promotion-flow.sh 推广流程测试脚本
  • && echo DONE
  • - Product list: ProductController/Service, DimensionProducts component
  • - AI recommendations: RecommendationService (tag-based LIKE), DifySyncService (TODO)
  • - Energy on purchase: NOT implemented - ProductOrder.pay() doesn't call awardEnergy()
  • - Proposed improvements documented in Section 8.2
  • - Frontend: promotion pages (team list, invite), SharePoster component, API helpers
  • - pages.json: add /promotion/share route
  • to design doc spec (growth/sleep/vision/immunity/nutrition/gut/exercise)
  • - Includes: DB migration (3 tables), entity remodel, percentile engine,
  • data source tier priority, gut flora report mapping
  • - Design spec: 7-dim model definition, mapping matrix, architecture notes
  • - 后端: family_members 主表 + relationship_types 配置表+种子数据
  • - 后端: 手机号关联已注册用户, capability_role→权限映射
  • - 前端: add-member.vue 统一添加入口, family-members.vue 改版
  • - 前端: store新增switchToMember/switchBackFromMember
  • - 前端: index.vue 修复 _doInit 方法位置, health-report.vue 修复:class方法调用
  • - 管理端: RelationshipTypes.vue CRUD完整功能
  • - 编译通过, AGENTS.md 更新验证策略
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 新增 RelationshipPicker.vue 可复用组件(自动加载关系类型列表,v-model 双向绑定)
  • - add-member.vue 改用 RelationshipPicker 替代内联 picker
  • - family-members.vue 增加编辑成员关系类型功能(弹窗+保存)
  • - docs/运营推广设计/IMPLEMENTATION_PLAN.md: 完整实施计划(19个待办事项,含验收标准、QA场景、引用路径)
  • 功能范围:
  • P0(补全占位): 分享邀请卡、推广团队页、微信转发
  • P1(激活+变现): 新手任务、每日任务、优惠券系统
  • P2(裂变放大): 邀请里程碑、推广排行榜
  • 含管理端3个页面
  • 分支: cfclub
  • - 自己出题自己答四步交互流程
  • - 训练中心 2 游戏入口(舒尔特+猜数字)
  • - 认知报告 7→6 维修正(DAN六维标准)
  • - FamilyRelationGraph wisdom 支持
  • - Phase 2 待办清单
  • - DB: health_dimension_score, health_data_source_record, health_norm_reference tables
  • - Entities: HealthDimensionScore, HealthDataSourceRecord, HealthNormReference
  • - Mappers: HealthDimensionScoreMapper, HealthDataSourceRecordMapper, HealthNormReferenceMapper
  • - Services: HealthDimensionScoreService, HealthDataSourceRecordService, DimensionScoreService
  • - Controller: HealthDimensionController with /overview, /upload, /questionnaire, /history endpoints
  • - Frontend: pages/body/health-dimensions.vue with CSS radar chart
  • - Gut report integration:肠道健康评分 saved as body dimension score
  • - API: getDimensionOverview, uploadDimensionScore
  • Compile fixes (pre-existing bugs blocking build):
  • - DimensionScoreVO: add 5-arg constructor for DEFAULT_DIMENSIONS
  • - HealthReportController: add BigDecimal import, Integer->BigDecimal conversion
  • - DatabaseInitializer: fix batchUpdate(Object[][]) -> Arrays.asList(Object[][])
  • - Result.ok() -> Result.success() in EmotionCheckinController, MindController, TraditionalMirrorController
  • - AIService: add moodScore, emotionType, stressLevel fields to EmotionCheckin entity
  • Other additions from previous session:
  • - EmotionCheckin flow (controller, service, mapper, DTOs)
  • - BaziReadingTemplate and NumSoulConfig entities with seed data
  • - HealthReportPermission entity and mapper
  • Backend compiles: mvn clean compile BUILD SUCCESS
  • Frontend: pages.json + api.js + health-dimensions.vue + food-list.vue
  • - Web端: Activities.vue重写,使用api/activity.js封装,完整CRUD+分页+状态筛选
  • - Web端: ActivityReview.vue重写,实现真实审核通过/驳回(draft→publish/reject)
  • - Web端: 新增api/activity.js(6个API函数)
  • - 小程序: 新增vendor/product-edit商品编辑页(创建+编辑双模式)
  • - 修复: 移除Vue文件中直接axios调用和可选链?.
  • - 22个问题精简为11个,聚焦家长最关心的核心问题
  • - 健康档案类问题从纯菌群检测改回健康数据中心定位
  • - 删除过技术化的16S rRNA、过度细碎的多个家庭/长辈问题
  • 销售文案:
  • - 对标滴滴企业版痛点-方案-数据三段式结构
  • - 面向家长群体,5个痛点覆盖散装育儿/健康管理/成长记录/夫妻沟通/服务商选择
  • - 书宁老师 13701366188
  • - 新增菌群检测适用年龄/周期/技术科普、精准健康方案、
  • 规划师服务、五维评估流程、多孩管理、长辈使用、
  • 付费模式、AI教育对比、五行应用、数据安全等问答
  • - 前端可见#faq区同步扩展至20条,内容与结构化数据一致
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Add ShoppingList, ShoppingListItem entities
  • - Add FollowUp entity
  • - Add UserFoodPreference entity
  • - Add corresponding Mapper interfaces
  • - Update DatabaseInitializer and Food entity
  • - 营养师健康报告/指标管理页面
  • - 新增营养映射管理页面(NutritionMappings)
  • - 路由配置更新支持营养功能
  • - Layout布局适配
  • - 新增健康报告详情页(body/health-report.vue)
  • - 家长首页(parent-index)大改版,增加营养板块
  • - 扩展API接口支持营养功能
  • - pages.json路由配置更新
  • - 扩展健康报告分析服务(肠道菌群/营养评分)
  • - 饮食推荐服务完善(季节食材过滤/候选人筛选)
  • - 数据库初始化增加营养相关表
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • parent-index.vue / child-index.vue 集成引导浮层+storage 触发
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • 发现页:emoji 4 卡片替换为五维价值矩阵(身🌏心🔥智⚡行🌿富💧)
  • 角色切换:transition fade out-in 0.3s 淡入淡出
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - feat(faq): Add FAQ section with 8 Q&As + wired FAQPage schema
  • - feat(stats): Add social proof stats bar (120K+/40K+/1K+)
  • - feat(testimonials): Add testimonial section with 3 user review cards
  • - feat(cta): Add 扫码体验 CTA button in hero linking to #contact
  • - feat(content): Deepened DAN and 菌群检测 product card descriptions
  • web: 强化家庭会员概念 - 产品概览增加会员制副标题,角色卡标注会员主体
  • web: 文案覆盖成人用户,评估维度明确为身智心行
  • web: 核心功能重构为识别诊断→个性化方案→跟踪执行→成果检验闭环
  • web: 核心功能改为功能闭环(含导航和页脚)
  • web: 幸福三支柱改为平台角色并锚点到#roles,五维幸福维度改为幸福维度
  • web: 顶部核核心产品标签改为产品概览,下区分两个核心产品
  • web: 移除三支柱卡片,内容合并进产品区引言
  • web: AI区标题改为六大AI引擎,专业知识库+大模型
  • web: 统计数据改为3/4/5/6并添加锚点链接
  • web: 核心产品替换健康好水为精准营养方案
  • web: 小程序码放大至180px便于扫码
  • web: 客户角色卡替换SVG占位符为真实小程序码
  • web: 添加浠艾福小程序码(cf.jpg)到联系我们区域
  • 上传文件至 'web'
  • web: 五维卡片SVG插图 - 船体上宽下窄/¥抽象为帆/鱼放大
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • 2. uploadReport: gut_flora段补充symptoms设置+ParsedIndicator新增symptoms字段
  • 3. 新增UserNutritionProfile模块(Mapper/Service/Controller),MealRecommendService改用数据库偏好
  • 4. 小程序新增recipe-detail.vue和preference.vue+pages.json注册+api.js接口
  • 5. filterCandidates增加卡路里上限过滤(>2400kcal排除)
  • - 行维度重新定义为人际和谐(关系建设)
  • - 新增幸福三支柱章节(衣食无忧/子女传承/受人尊敬)
  • - 新增五行相生相克关系说明
  • - 新增企业官网介绍与目录结构
  • - 新增 nginx 部署配置说明
  • - 更新公司及产品介绍对齐官网文案
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Plan covers: 5 tasks — skeleton, Canvas lines, interaction, unit tests, integration verification.
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - View layer (flexbox) for nodes — conditional layout per member count
  • - Canvas layer (type=2d) for self-to-other relation lines
  • - Energy value mapped to avatar size (not ring progress bar)
  • - Native View @tap replaces manual Canvas hit detection
  • - Removes: polarLayout, drawMember, drawMemberLegacy, drawMemberShape, drawEnergyRing, initCanvas, onCanvasTap
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - FamilyInvitation entity + mapper(邀请令牌)
  • - FamilyInvitationService(生成/校验/接受/合并/转让)
  • - 5个API端点:/generate, /validate, /accept, /check-family, /transfer-admin
  • - WechatService.generateWxacode() 小程序码生成(降级ZXing QR)
  • - DatabaseInitializer 添加 family_invitations 表迁移
  • 新增小程序端:
  • - pages/invite/join.vue(扫码落地页:登录+身份选择+合并)
  • - App.vue handleScene() 处理 wxacode 场景值
  • - api.js 新增 5 个 API 方法
  • - pages.json 注册邀请页路由
  • 数据流:扫码 → scene=invite={token} → App.vue解析 → 跳转join页
  • → 登录 → 选身份 → 调/accept → 加入成功
  • ProfileHeader (user card + energy + role switch)
  • ProfileStats (action data + wealth data + referral code)
  • ProfileBadges (badge grid with API/local fallback)
  • ProfileGrowth (growth report card)
  • ProfileMenu (menu list + password modal + logout)
  • ProfileMenu emits invite-generate to parent to preserve shareData
  • - rewards.vue: remove duplicate loadRewards() method (second
  • overrode the first, first correctly reads currentRole from storage)
  • - Create pages/meal/recommend.vue (AI recipe recommendation)
  • - Create pages/meal/log.vue (meal logging + nutrition summary)
  • - Register meal subpackage in pages.json
  • - Create web admin src/api/diet.js (13 API functions)
  • - Create admin Foods.vue, Recipes.vue, SeasonalFoods.vue pages
  • - Add admin diet routes to router/index.js
  • - Add '饮食管理' menu section to Layout.vue sidebar
  • - Add 4 mappers: FoodMapper, RecipeMapper, SeasonalFoodMapper, MealLogMapper
  • - Add 5 services: FoodService, RecipeService, SeasonalFoodService, MealLogService, MealRecommendService
  • - Add 2 DTOs: RecommendationContext, MealRecommendResult
  • - Add MealRecommendController (/api/meal/*) for recipe recommendations, food replacement, meal logging
  • - Add 3 admin controllers: AdminFoodController, AdminRecipeController, AdminSeasonalController
  • - Add DDL for 4 new tables in DatabaseInitializer
  • - Fix: add matchChildIdByName to HealthReportService (needed for remote PDF parsing feature)
  • - HealthReportController: POST /api/health/report/upload (multipart upload)
  • - HealthReportService: 事务写入报告/指标/菌群/疾病风险四表
  • - DatabaseInitializer: ALTER TABLE 迁移新增字段
  • - report-upload.vue: 新增PDF文件选择+上传组件
  • - health-report.vue: 新增SVG环形评分仪表盘可视化
  • - App.vue: onShow 同步 storage → Vuex token
  • - login.vue: 移除 setTimeout,登录后 Promise 链内直接跳转
  • - Article: add submittedBy, reviewedBy, reviewedAt, reviewComment, sourceType, sourceUrl fields
  • - ArticleService: submit, review, getPendingList, getUserSubmissions methods
  • - ArticleController: /submit, /my-submissions, /fetch-link, /upload/document endpoints
  • - AdminArticleController: /review, /pending-list endpoints
  • - PdfParseService + DTOs: parse gut flora PDF reports (ParsedReportResult, ParsedGutFlora, etc.)
  • - HealthReport/HealthGutFlora entities: report upload and storage
  • - HealthReportController: report upload + parsing endpoints
  • - Activity: add fields and endpoints
  • - DatabaseInitializer: schema updates
  • Frontend (mini-program):
  • - pages.json: register new pages
  • - body/index.vue + member-body-detail.vue: health report UI
  • - action/index.vue + member-action-detail.vue: activity UI
  • - mind: article-detail, index, member-mind-detail updates
  • - child-index.vue: updates
  • - api.js: new API endpoints
  • specs: add growth record rebuild design
  • 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
  • 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
  • - ActivityControllerTest - 活动管理员 API
  • - ArticleAdminControllerTest - 文章管理员 API
  • - GuideRolePermissionTest - 规划师权限边界
  • - HealthReportControllerTest - 营养调理师 API
  • 修复编译错误 (24 个):
  • - BigDecimal->Integer 分制: GuidePackageServiceTest, GuideModuleIntegrationTest,
  • GuideFamilyServiceTest, ServiceContentServiceTest, GuideOrderControllerTest,
  • GuidePackageTemplateServiceTest
  • - .toList()->.collect(Collectors.toList()) (Java 1.8): ActivityControllerTest
  • - void mock doNothing: HealthReportControllerTest
  • 文档: test-inventory.md(32文件/324用例), test-report.md(485全量)
  • plan: dimension knowledge base implementation plan (17 tasks, 4 phases)
  • specs: add dimension + knowledge base design
  • 4 frontend components, 2 admin pages.
  • Co-authored-by: Sisyphus sisyphus@ohmyopencode.dev
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - AdminAuthController: allow nutritionist/activity_admin/article_admin roles
  • - Auto-detect role on login for new role types
  • Frontend (cfc-web):
  • - Router: role-based route access control (admin bypasses all)
  • - Layout.vue: role-specific sidebar menus
  • - Add Activities.vue route for activity_admin
  • - Add .omo/ to gitignore
  • - docs: family-relation-graph plan and spec
  • - docs: mind-page dual-tab plan
  • - docs: profile-page redesign plan and spec
  • - docs: precise nurture recommendation spec
  • - test: article CRUD controller/service tests
  • - test: update test-cases and test-inventory
  • - fix: InternalApiController, DanshopMigrationService, ArticleEdit
  • - chore: cfc-web router/request/vue.config adjustments
  • 后端原未返回该字段,growthReport.monthActiveDays 始终为 0。
  • 改为统计当月有积分变动的天数。
  • Co-authored-by: Sisyphus sisyphus@ohmyopencode.dev
  • - 功能菜单4组分组(个人/财富/服务/设置)
  • - 邀请合并为ActionSheet选择类型
  • - 勋章墙3×3网格,优先调后端Badge API
  • - 成长报告真实数据(复用 /api/stats/child/overview)
  • - mind/index.vue: 心理Tab新增心愿单入口
  • - onCancel uses danshopOrderCancel (was productOrderCancel CFC)
  • - onConfirmReceive uses orderNo param (was orderId)
  • - onBuyAgain navigates to shop/detail (was discover/product-detail)
  • Co-authored-by: Sisyphus sisyphus@ohmyopencode.dev
  • instead of calling CFC productOrderPay which had wrong order system
  • - order-list: onCancel() → danshopOrderCancel (DanShop) not productOrderCancel (CFC)
  • - order-list: onConfirm() → danshopOrderConfirm (DanShop) not productOrderConfirm (CFC)
  • - checkout: fix address selection eventChannel — both events{} and success{}
  • callbacks now set selectedAddress (was empty stub, blocking order creation)
  • Co-authored-by: Sisyphus sisyphus@ohmyopencode.dev
  • - Add cfc-frontend unit tests:
  • - API tests (115): all modules (auth, streets, user, family, tasks, points, wishes, guide, payment, mini-games, growth, energy, badges, articles, contact, vendor, product, commission, stats, AI chat, health report, danshop, etc.)
  • - Store tests (14): all mutations + actions
  • - Config tests (7): all environments + helpers
  • - Format utils tests (11): formatPrice/rate/score
  • - Fix danshop route changes (/danshop/ -> /api/shop/)
  • - Fix config DANSHOP_BASE_URL (8888 -> 9081)
  • - Fix productList method (GET -> POST)
  • - Add 8 new API tests (health report, report survey)
  • - Update test-report.md (211 frontend tests passing)
  • cfc-frontend: 153 passed
  • cfc-web: 44 passed
  • e2e: 14 passed
  • Total: 211 passed (100%)
  • - Tab栏:心·心理 / 智·认知 双Tab切换
  • - 心理Tab:EMI心理四维、大五人格、每日心理、推荐阅读(心理相关)
  • - 认知Tab:DAN综合认知评分、六维雷达图、认知训练、阅读统计、推荐阅读(认知相关)
  • - Tab切换时活动/商品跟随切换维度(mind/wisdom)
  • - 推荐阅读根据文章 relatedDimensions 按Tab筛选
  • - DanshopPaymentRecord: 支付代理记录实体+Mapper
  • - DanshopMigrationService: 批量迁移用户/商品到DanShop
  • - DanshopMigrationController: 迁移触发端点
  • - application.yml: 新增wechat.danshop-notify-url配置
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - A1: FamilyEnergyBar 成员导航 — 页面已存在且已注册,无需修改
  • - A6: 修复 parent-index.vue 模板孤立 @moreProducts 标签
  • - A4: child-index.vue onDomainClick 追加 childId 参数
  • - A5: 补充运动类/艺术类/家务类成就徽章解锁逻辑
  • - A2: 移除 DimensionActivities 组件自加载 API(父组件已传 prop)
  • - A3: 移除 DimensionProducts 组件自加载 API(父组件已传 prop)
  • - A7: wuxing-sandbox preview 模式缓存随机值(Storage 持久化)
  • - A8: FamilyMemberCard roleLabel 增加前端兜底显示
  • - A9: 收紧 parent-index 降级路径成员过滤条件,移除 !c.role
  • - A10: FamilyMemberStrip scroll-view 增加固定高度 160rpx
  • 防止唯一键冲突
  • - 修复 GuideApplicationServiceTest(2用例):添加 @MockBean
  • GuideApplicationRecordMapper,避免 addRecord() 真实写入 DB
  • - 修复 AuthControllerTest(1用例):移除不必要的 doNothing() 调用
  • - 新增 5 个测试文件(AuthControllerTest 39用例, WishControllerTest 27用例,
  • TaskControllerTest 19用例, FamilyControllerTest 10用例,
  • StatsControllerTest 6用例)
  • - 更新 test-inventory.md 和 test-report.md 测试文档
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Ultraworked with Sisyphus
  • 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
  • - 主目录仅保留当前有效文档
  • - 新增 docs/CHANGELOG.md 变更记录
  • - 行远页新增「重要关系维护」功能设计 (spec + plan)
  • - 新增 Contact 实体/API 设计
  • - 心智页能量柱改为堆叠图(心+智叠加)
  • - 私密活动可见性扩展为 visibility/visibleScope/visibleTo 三字段模型
  • - DanAssessmentResult: EMI 4 字段 (emotion_management/empathy/social_adaptability/self_motivation)
  • - User: +birthHour 出生时辰
  • - family_member_attributes: 新结构 (member_id/member_type/birth_datetime/eight_characters/wuxing_elements/mind_base_score/wisdom_base_score/behavior_modifier)
  • - schema.sql + DatabaseInitializer 全面更新
  • Phase 1: 心智计算
  • - FamilyMemberAttributeService: autoCalculate(生肖/八字四柱/五行星盘/生命灵数) + calcInnateScore
  • - FamilyAttributeController: /api/family/attributes/{update,get,calculate}
  • - EnergyService: calcChildMind=EMI 70%+先天30%+行为修正; calcChildWisdom=COG 70%+先天30%+行为修正
  • - FinanceCheckinService: +awardEnergy 接入
  • Phase 2-3: 前端
  • - user-edit.vue: +出生时辰选择器
  • - cognitive-report.vue: 认知测评报告页
  • - health_reports: child_id→user_id
  • 已实现降级策略: DAN→先天→任务完成率
  • - docs: 新增 v1.2-心智增强-版本计划.md(阶段划分/交付物/验收标准)
  • - docs: 新增 v1.2-心智增强-阶段总结.md(5路代码审计 + 需求确认 + 19项实施任务)
  • - feat: 会员与分销体系(Membership CRUD/升级/佣金/提现/邀请)
  • - feat: 财富维度页面(记账打卡/保单管理/财富首页/保险添加)
  • - feat: 教育后台管理 + 健康报告实体/服务/控制器
  • - feat: 规划师端测评管理/团队管理 + 认知评分服务
  • - feat: 前端 TabBar 5标签重构 + 身体/行动/发现/商城/教师页面
  • - refactor: 前端组件化(PageBanner/RadarChart/TaskItem/BadgeGrid/EnergyWeekCard)
  • - refactor: 后端服务拆分(EnergyService/HealthReport/Commission/FinanceCheckin)
  • - chore: 配置更新(application.yml/pom.xml/schema.sql/schema_assessment.sql)
  • - AGENTS.md: add energy/commission/article/badge module entries
  • - .env.development: remove (should not be tracked)
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Plans: module development plan, wuxing layout update, wuxing sandbox refactor, article publishing, energy system
  • - Specs: wuxing sandbox refactor design, body dimension energy, remaining dimensions energy
  • - Analysis: domain comparison (亲子 vs 个人健康/关系维护/康养/认知提升)
  • - product-plan/ directory
  • - Updated: pre-login discovery plan/spec, 需求分析文档, 小程序页面重设计划
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • New API modules: article.js, energy.js
  • Updated: admin.js (new endpoints), router/index.js (new routes), Layout.vue (nav items)
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - body/: 身体健康维度页面 (body dimension)
  • - energy/: 能量中心 (energy center hub + history)
  • - mind/: 心理健康维度页面 (mental health dimension)
  • - promotion/: 推广中心 (referral/promotion hub + invites + commissions + team)
  • - games/records.vue + stats.vue: 游戏记录/统计
  • - rewards/badge.vue: 徽章展示页
  • - stats/index.vue: 统计概览
  • Updated pages: index (parent/child), discover, profile, login, shop, membership, tasks (child/review), wishes, games/list, config.js
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Rewrite custom-tab-bar/index.vue for new TabBar pages [body, mind, profile]
  • - Updated uni.scss with new page variables and energy/promotion theme colors
  • - PlayfulButton/PlayfulCard: gamified UI primitives with wǔxíng animations
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Move non-TabBar pages to subPackages (teacher, guide, parent, child, tasks, wishes, rewards, games, assessment, growth, shop, vendor, stats, promotion, energy, membership)
  • - TabBar changed: [index/discover/shop/profile] -> [index/body/mind/profile]
  • - manifest.json: lazyCodeLoading, name/description update
  • - package-lock.json: rename zxyj -> cfc
  • 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
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - Java 包: com.zxyj → com.etotem.cfc (主程序 + 测试)
  • - pom.xml groupId/artifactId/name, application.yml 数据库/JWT 配置
  • - AGENTS.md, DESIGN.md, README.md 引用更新
  • - 前端/Web package.json name 更新
  • - 分支: feature/modules-A-E-complete → cfclub
  • - 实施计划:12个任务,从DB迁移到前端集成完整流程
  • - 健康指数算法待定,先返回0占位
  • @RequestHeader 读取导致的 401 错误。改用 request.setAttribute +
  • @RequestAttribute 模式,JwtInterceptor 同时设置两处确保兼容性。
  • T12-T14: Web admin product/order/config management
  • - OrderManage.vue: admin order list with status filter, detail dialog
  • - SysConfig.vue: admin config CRUD with inline edit dialog
  • - admin.js: product/order/config API functions aligned with backend paths
  • - router/index.js: ProductManage/OrderManage/SysConfig routes + adminRoutes list update
  • - Layout.vue: sidebar menu items for product-manage, order-manage, sys-config
  • T7-T11: Frontend product system pages
  • - discover/index: real product grid replacing hard-coded cards, filter chips
  • - NEW product-detail: cover, name, price, buy flow, create order + pay
  • - NEW order-list: status tabs, order cards, pay/cancel/confirm actions
  • - NEW order-detail: order detail with bottom action bar
  • - NEW vendor/products: vendor product list with shelve/edit actions
  • - NEW vendor/orders: vendor order list with confirm action
  • - vendor/center: fixed navigation methods
  • - pages.json: registered all 5 new pages
  • - 新增 familyRole 字段支持家长身份 (爸爸/妈妈/姥姥等)
  • - 新增 Family.creatorId 标识家庭管理员
  • - 实现家庭成员管理及踢出功能
  • 模块 B: 家长邀请规划师
  • - 优化 InviteCardService.acceptGuide 自动绑定规划师到家庭
  • - 前端增加邀请规划师入口
  • 模块 C: DAN 测评购买改造
  • - AssessmentOrderController.createOrder 支持 guideId 可选
  • - 自动从 Family.teacherId 分配规划师
  • - 前端支持'由系统安排'选项
  • 模块 D: 规划师邀请家长
  • - 新增 /api/guide/parent-invite/generate 生成邀请码
  • - 新增 /api/guide/parent-invite/accept 接受邀请
  • - 自动创建成长档案并绑定规划师
  • - 前端支持邀请码生成和接受流程
  • 模块 E: 成长档案 + 测评购买一体化
  • - 新增 /api/growth/record/create-with-order 合并接口
  • - 前端增加'同时购买 DAN 测评'选项
  • - 支持创建后直接跳转支付
  • 技术改进:
  • - 统一使用 @PostMapping 规范
  • - 优化 InviteCard 生成逻辑支持 parent_invite 类型
  • - 前端支持邀请码自动识别和处理
  • - superpowers: 新增规划文档(家长端重设计/邀请码流程)
  • - 新增logo和specs文档
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - TaskStatsService: 任务统计服务
  • - GuideApplicationRecord: 规划师申请记录实体和Mapper
  • - stats包: 统计相关控制器
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - index.html: 标题和meta更新
  • - package.json: 添加element-ui依赖
  • - 移除 pnpm-lock.yaml (改用npm)
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - TeacherMessages: 规划师消息管理功能完善
  • - TeacherDashboard/TeacherFamilies: 仪表盘和家庭管理优化
  • - TeacherAssessment/TeacherTeam: 测评和团队管理增强
  • - Dashboard/GuideAudit/Users: 管理员看板和审核功能优化
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 登录页(login): 优化验证码和登录流程
  • - 心愿/任务/兑换: 交互细节优化
  • - 成长档案/规划师注册: 页面完善
  • - 新增 child-detail 孩子详情页
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 测评订单和预约: 新增字段和业务逻辑优化
  • - 成长档案: 服务逻辑完善
  • - 认证和家庭绑定: 流程优化
  • - DatabaseInitializer: 数据库初始化脚本同步
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - GuideManagementController: 完善邀请码生成和规划师申请流程
  • - TeacherMessageController: 老师消息回复接口优化
  • - GuideFamilyService/GuideApplicationService: 家庭绑定和申请服务增强
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - AdminAuthController: 锁标识从纯IP改为phone+ip组合
  • - UserService.resetPassword: 改用encryptPassword统一盐值(xzyjsalt)
  • - 修复管理员重置密码后用户无法登录的问题
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 需求分析文档V2.0:对比需求文档与代码实现,标注完成状态
  • - 新增测试清单文档
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - router/index.js:新增teacher路由组+权限守卫
  • - Login.vue:登录页优化
  • - 修正API路径(teacher-message→guide/messages, guide/my/packages→guide/packages/my)
  • - 修正assessment API方法GET→POST
  • - 新增guidePackage/guideTask/teacherMessage API模块
  • - 新增TeacherAssessment/TeacherOrders视图
  • - 添加jest/babel配置和测试框架
  • - 更新依赖(pnpm-lock)
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - GuideOrderControllerTest:订单列表和统计测试
  • - GuideTeamControllerTest:团队管理测试
  • - GuideApplicationServiceTest:申请审核测试
  • - GuideFamilyServiceTest:家庭绑定测试
  • - GuideHierarchyServiceTest:层级关系测试
  • - GuidePackageServiceTest:套餐管理测试
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 新增SwitchRoleDTO角色切换DTO
  • - UserService重构:完整实现directRegister/isPhoneRegistered,新增switchRole/registerWithInviteCode/resetPassword
  • - UserServiceInterface添加缺失方法声明
  • - 新增GrowthPlanMapper支持成长规划表数据迁移
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 修复AuthController手机号/身份证格式校验
  • - 新增GuidePackageController /my端点解决路由404
  • - GuideOrderController查询逻辑优化
  • - GuideTeamController团队功能增强
  • - GuideController路由重定向处理
  • - DataMigrationController + MigrationController新增迁移端点
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - DataMigrationService实现9步数据迁移
  • - 更新DatabaseInitializer添加数据库表和字段迁移
  • - ZxyjApplication排除DataSourceAutoConfiguration
  • - application.yml添加sfms数据源配置
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - guide_packages表: 移除IF NOT EXISTS, 新增teacher_id/template_id改为NULL
  • - assessment_appointments表: 移除IF NOT EXISTS
  • - GuideModuleIntegrationTest: 修正套餐创建使用TaskTemplatePackage(非GuidePackageTemplate)
  • - 使用CreatePackageDTO + taskTemplatePackageService.createPackage()
  • - 添加cycleDays必填字段
  • - 新增重复创建验证替代原价格校验
  • - TeacherLoginTest: 补全users表NOT NULL字段(openid, familyId)
  • - 修正role为ENUM有效值(teacher), 使用roles字段测试多角色
  • - 所有Service实现类添加implements XxxServiceInterface
  • - MediaRecordService和StorageService(旧接口) extends对应新接口
  • - 修正接口方法签名与实现类一致:
  • - TaskReminderServiceInterface: 基于Task实体(无TaskReminder实体)
  • - PaymentServiceInterface: 基于PackageOrder实体(无Payment实体)
  • - BindInviteServiceInterface: 基于GuideFamily(无BindInvite实体)
  • - LoginAttemptServiceInterface: 内存实现(无LoginAttempt实体)
  • - DataMigrationServiceInterface: 仅runMigration方法
  • - PointsServiceInterface: 基于PointsLog实体
  • - MembershipServiceInterface: 基于FamilyMembership实体
  • - PackagePurchaseServiceInterface: 基于PackageOrder实体
  • - PackagePaymentServiceInterface: 基于PackageOrder实体
  • - AssessmentServiceInterface: 补充完整方法签名
  • - 新增TaskPlanServiceInterface(原缺失)
  • - mvn clean compile BUILD SUCCESS
  • - 添加成长规划师、DAN评估、小游戏任务等核心功能
  • - 更新API接口列表
  • - 添加测试和开发规范说明
  • - 新增成长规划师登录测试(TeacherLoginTest)
  • - 修复AssessmentResultMapper类型错误(DanAssessmentResultMapper)
  • - 修复Admin实体nickname字段缺失
  • - 修复AssessmentAppointment status类型(String)
  • - 修复GuideFamilyTaskControllerTest测试
  • - 添加套餐模板管理API
  • - 添加成长规划师套餐API (CRUD + 状态管理)
  • - 添加团队管理API (我的团队、邀请码)
  • - 添加订单与佣金API
  • - 添加家庭管理API
  • - 添加消息功能API
  • - 实现所有API改用POST方法
  • - 添加测试用例覆盖所有CRUD操作
  • - 更新数据库初始化脚本
  • - 添加前端管理页面 (服务类型、服务内容、套餐模板)
  • - 添加成长规划师工作台页面
  • 修改:
  • - 后端安全增强 (防暴力破解、HTTP安全头)
  • - 前端路由守卫Token验证
  • - Web管理端功能完善
  • - 实现指导师邀请码系统(GuideInviteCode)
  • - 支持指导师套餐定价(GuidePackage)
  • - 实现测评报告权限控制(上级可查看下级报告)
  • - 添加套餐购买和支付功能
  • - 创建指导师注册、邀请码分享、测评申请等前端页面
  • - 添加数据库表结构(schema_guide.sql)
  • - 修复 Java 8 兼容性问题(toList、List.of)
  • - 编译验证通过
  • - TaskService增加completeMinigameTask方法处理小游戏任务完成
  • - TaskController增加minigame-options和complete-minigame接口
  • - 前端:创建任务页面支持选择小游戏类
  • - 任务列表显示小游戏任务标识
  • - 小游戏页面支持从任务跳转并调用任务完成接口
  • 更新测试用例:添加小游戏任务类型测试(MINITASK-001~004),更新需求同步文件
  • 设计文档:在线小游戏作为任务类型的处理方案(方案B-2:category+minigameCode)
  • 修复需求同步状态,添加小游戏相关需求项
  • - 新增Wish实体/Mapper/Service/Controller完整后端API
  • - 新增小程序孩子端心愿页面(列表/创建/详情)
  • - 新增小程序家长端心愿管理页
  • - 新增Web管理端心愿管理页
  • - 删除错误的migration_wishes.sql迁移脚本
  • - 新增schema-wishes.sql建表脚本
  • 设计明确:
  • - rewards: 心愿库(家长预设奖励模板)
  • - wishes: 个人心愿(每个人的实际心愿)
  • 其他修复:
  • - 修复pages.json路由配置
  • - 修复API调用和页面跳转
  • 更新需求文档:小游戏作为任务类型的一种形式,新增小游戏类任务分类和API说明
  • 完善测试用例:新增指导师功能、小游戏模块、任务模板管理等API和Web测试用例
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 小程序端:API接口测试,构造请求数据验证响应,不进行UI点击
  • - Web管理后台:浏览器自动化测试,管理员/指导师登录,测试过程截图
  • 测试账号更新:
  • - 管理员: 13800138000/admin123
  • - 指导师: 13800138003/teacher123
  • - 家长和孩子不登录Web后台
  • 环境配置:
  • - 后端API地址: http://192.168.16.18:8080
  • - Web管理端地址: http://192.168.16.18:8081
  • 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
  • sync: 更新测试说明与同步元数据
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - 添加年龄空值检查
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - POST接口参数从@RequestParam改为@RequestBody适配JSON请求体
  • - Web管理端API调用从GET改为POST
  • - 小程序utils/api.js默认方法改为POST
  • 变更文件:
  • - 后端Controller: MarketController, TaskTemplatePackageController, PackagePaymentController, StreetController, MediaController, MiniGameController, StreakController, MembershipController, BindController, BindInviteController, UserController, GuideController, GuideFamilyTaskController, TeacherController, TeacherMessageController, AdminController, RewardController, RewardWishlistController, PointsController, TaskController, TaskReminderController
  • - Web API: guideTask.js, teacherMessage.js
  • - 小程序API: utils/api.js
  • - DTO: CompleteTaskDTO
  • Ultraworked with Sisyphus
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • - DatabaseInitializer: 添加admin_task_templates表新字段迁移(complete_types/duration/review_type/task_type/frequency/max_frequency)
  • - 整理TASK-001~016需求清单和状态
  • - 定义Task实体字段和数据模型
  • - 汇总API接口和前端页面
  • - 标注待完善功能
  • - P1需求42%完成(19项),包括任务提醒统计
  • - 更新指导师、小游戏、打卡功能修复状态
  • - 记录数据库迁移和定时任务
  • - 添加下一步开发建议
  • - TASK-014: 任务历史记录(带状态/时间筛选)
  • - TASK-015: 任务统计分析(概览/分类/日期/家庭统计)
  • 新增API:
  • - GET /api/tasks/reminder/{childId} - 需要提醒的任务
  • - GET /api/tasks/upcoming/{childId} - 即将到期任务
  • - GET /api/tasks/overdue/{childId} - 已超时任务
  • - GET /api/tasks/history/filter/{childId} - 带筛选的历史
  • - GET /api/tasks/statistics/{childId} - 统计概览
  • - GET /api/tasks/statistics/category/{childId} - 分类统计
  • - GET /api/tasks/statistics/date/{childId} - 日期统计
  • - GET /api/tasks/statistics/family/{familyId} - 家庭统计
  • - OperationLogController改用POST方法(安全要求)
  • - Web端API调用适配POST方法
  • - 改进Layout菜单和角色显示逻辑
  • - 路由守卫改进指导师权限检查
  • - OperationLogController改用POST方法(安全要求)
  • - Web端API调用适配POST方法
  • - 改进Layout菜单和角色显示逻辑
  • - 路由守卫改进指导师权限检查
  • - 实现每日/每周重复任务设置(TASK-004)
  • - 创建RepeatTaskGenerator定时任务,每天凌晨5点生成重复任务实例
  • - Task实体添加templateId和isTemplate字段追踪模板关系
  • - 前端create-task.vue添加日期时间选择器和重复类型选择
  • - 添加数据库迁移20-21
  • - REWARD-002A: 家庭奖励库,多家长可调整积分
  • - REWARD-002B: 多孩子心愿单隔离
  • - POINT-002: 超额积分规则,支持自定义bonusRule
  • - POINT-009: 积分有效期,支持按任务设置过期天数
  • - 添加数据库迁移16-19
  • - 添加积分过期定时任务PointsExpireTask
  • - 新增操作日志功能
  • sync: 同步测试资产到 V1.2 需求
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai
  • 1. 任务分类 TASK-005: P1 → P0
  • 2. POINT-002: 提前完成奖励 → 超额完成奖励(家长制定规则)
  • 3. POINT-009: 积分每月清零 → 积分不清零,可设置有效期
  • 4. REWARD-001A: 家长填写所需积分后心愿进奖励库 (P0)
  • 5. REWARD-002A: 家庭奖励库 (P0)
  • 6. REWARD-002B: 多孩子心愿单隔离 (P0)
  • 7. DAN测评模块重构:
  • - 测评数据来自接口(非拍照上传)
  • - 作为测评记录,不作为孩子基本信息
  • - 与任务、心愿平行(P1)
  • - 删除手动录入、图片上传等需求
  • sync: 同步需求变更,新增 MODE-010 测试用例
  • - 新增 MODE-010 指导师注册与审核测试用例 (P2)
  • - 创建 .test-sync.json 记录需求同步状态
  • - 需求变更:新增 9 个需求项,修改 1 个需求优先级
  • 新增需求测试用例:
  • - TASK-012A ~ TASK-012F (已包含)
  • - MODE-008, MODE-009 (已包含)
  • - MODE-010 (本次新增)
  • 修改需求:
  • - MODE-006: P2 → P0,描述更新
  • 需求覆盖度:100% (P0/P1/P2 全覆盖)
  • - 优化UserController用户信息更新逻辑
  • - 优化login.vue登录流程和手机号检查
  • - 优化parent-index.vue导航逻辑
  • - 更新需求分析文档状态
  • - 实现连续打卡里程碑奖励及自动重置定时任务
  • - 重构控制器按功能模块分组(admin/auth/family/guide/task/reward)
  • - 修复指导师信息入库、家庭检索逻辑等问题
  • - 添加API权限校验和测试文件
  • - 创建.gitignore排除构建产物
  • - 更新后端AGENTS.md,添加街道地址功能和代码地图
  • - 更新前端AGENTS.md,完善uni-app配置和地址匹配功能
  • - 新建Web管理端AGENTS.md,Vue.js + Element UI文档
  • - 新建Superpowers AGENTS.md,AI开发工具工作流规范
  • - 新建Tests AGENTS.md,分层测试策略和状态评估
  • - getFamilyWishlist: POST /family 改为 GET /family
  • - 避免与create的POST /冲突
  • - 修正HTTP方法语义(查询用GET)
  • - 添加idx_teacher_id索引
  • - 修复Unknown column 'teacher_id'错误
  • - getMyPackages: POST / 改为 GET /my
  • - 避免与createPackage的POST /冲突
  • - 修正HTTP方法语义(查询用GET)
  • - GuideFamilyTaskController保留 /api/guide/families
  • - 避免Ambiguous mapping错误
  • - BindInviteController保留 /api/guide/bind/invite
  • - 避免Ambiguous mapping错误
  • - 将指导师相关字段迁移移到DatabaseInitializer
  • * teacher_no - 指导师证书号
  • * teacher_photo - 指导师照片
  • * certificate_image - 证书照片
  • * teacher_status - 审核状态
  • - 修复GuideController缺少UUID导入
  • - 更新auth.js优化认证逻辑
  • - 更新router添加更多路由
  • - 更新Layout优化菜单结构
  • - 更新Rewards和Tasks页面功能
  • - 更新index.html标题
  • - 更新package.json依赖
  • - 新增PlayfulButton和PlayfulCard组件 - 趣味化UI
  • - 新增指导师相关页面(套餐管理、绑定邀请等)
  • - 新增家长市场页面(套餐市场、任务计划)
  • - 新增任务创建和审核页面
  • - 新增教师端页面
  • - 新增会员中心页面
  • - 新增孩子管理页面
  • - 优化登录页面和首页UI
  • - 更新pages.json路由配置
  • - 更新全局样式uni.scss
  • - 新增BindController - 家庭绑定指导师
  • - 新增BindInviteController - 绑定邀请
  • - 新增GuideController - 指导师管理
  • - 新增GuideFamilyTaskController - 指导师家庭任务管理
  • - 新增MarketController - 套餐市场
  • - 新增PackagePaymentController - 套餐支付
  • - 新增TaskTemplatePackageController - 任务模板套餐
  • - 新增PackageOrder实体和Mapper
  • - 新增BindInviteService和PackagePaymentService
  • - 更新schema.sql和配置文件
  • * 省市区街道四级选择
  • * 支持v-model双向绑定
  • * 自动加载地址路径
  • - 新增家庭地址编辑页面address-edit.vue
  • * 集成地址选择组件
  • * 保存家庭地址到后端
  • - 新增区域匹配页面street-match.vue
  • * 显示街道级/区县级/城市级匹配结果
  • * 统计各级别家庭和指导师数量
  • - 更新api.js添加街道相关API
  • * getProvinces - 获取省份
  • * getStreetChildren - 获取子级地址
  • * matchByStreet - 区域匹配
  • * getStreetStats - 区域统计
  • - Family和Teacher实体添加streetId及地址冗余字段
  • - 实现StreetService支持区域回退匹配逻辑
  • * 优先匹配相同街道
  • * 回退到区县级匹配
  • * 最终回退到城市级匹配
  • - 实现StreetController API端点
  • * GET /api/streets/provinces - 获取所有省份
  • * GET /api/streets/children/{parentId} - 获取子级地址
  • * GET /api/streets/{id}/match - 区域匹配
  • * GET /api/streets/stats - 按区域统计
  • - 数据库迁移添加streets表示例数据(广东省)
  • - 修复TaskReviewDTO缺少approved和comment字段
  • 用途:
  • - 家庭和指导师按街道进行匹配
  • - 按区域统计家庭数和指导师数
  • - 支持地址四级联动选择
  • - 在DatabaseInitializer中添加runMigrations()方法
  • - 使用try-catch处理列/索引已存在的情况
  • - 支持幂等性迁移(可重复执行)
  • - 添加tasks表executor_type/executor_id字段
  • - 添加users表roles/total_points等新字段
  • - 添加children表birthday/gender字段
  • - 支持teacher角色
  • - 修复TaskPlanService和TaskTemplatePackageService中var类型推断(Jave 8不支持)
  • - 修复TaskTemplatePackageService.getPublicPackages()方法
  • - 将QueryWrapper.list()改为packageMapper.selectList(wrapper)
  • - 完善Users, Children, Tasks, Rewards, Points页面功能
  • - 集成后台API接口,实现CRUD操作
  • - 优化Layout.vue菜单结构和路由配置
  • - 更新Login.vue登录逻辑
  • - 删除不存在的/pages/index/index路由
  • - 修复login.vue中isNewUser判断逻辑
  • - 更新api.js添加新的API端点
  • - 更新pages.json和App.vue配置
  • - 新增Mapper接口: MediaRecordMapper, TeacherMapper, TaskTemplateMapper等
  • - 新增Service层: MediaRecordService, TeacherService, MembershipService等
  • - 支持多媒体上传、教师管理、会员套餐、任务模板等功能模块
  • * JwtInterceptor将userId存入request attribute
  • * Controller从@RequestHeader改为@RequestAttribute获取userId
  • - 修复TaskService中PointsLog字段错误
  • * log.setUserId改为log.setChildId
  • - 新增待审核任务查询端点 GET /api/tasks/pending-review
  • - 新增MediaController、TeacherController等控制器
  • - 完善AdminController的Web管理端API
  • - 修复AdminController路由 /admin -> /api/admin
  • - 登录接口支持选择角色(parent/child)并收集生日性别
  • - 新增长按孩子卡片切换到孩子身份功能
  • - 家长端可添加孩子、切换模式
  • - 孩子端可切换回家长模式
  • - 添加数据库自动同步服务
  • - Add AGENTS.md for zxyj-backend with Spring Boot conventions
  • - Add AGENTS.md for zxyj-frontend with uni-app conventions
  • - Fix AdminLoginDTO missing password field for admin login
  • 重写schema.sql修复GBK乱码,所有中文注释使用正确UTF-8编码
  • 修复schema.sql中注释与SQL语句同行导致的语法错误
  • 将Java源文件编码从GBK转换为UTF-8,修复编译错误
  • 将项目从xzyj重命名为zxyj,更新所有包名和配置,修复selectSum编译错误
  • 删除原生小程序目录miniprogram,项目使用uni-app开发
  • 测试

    • s: fix playwright config, add E2E status report, system Chrome used
    • s: v10 results - 15 PASS / 0 FAIL, ISSUE-002 fixed, issue tracking added
    • 新增健康营养师流程测试 + E2E场景矩阵文档
    • s: update v9 results - backend accessible, 12 pass / 3 fail
    • s: add v9_test.js for cfclub updates
    • v8 final results 11 PASS 2 FAIL 1 SKIP
    • add v3 API test scripts for NEW fix verification
    • round 5 API test reports + NEW-01/02/03 issue tracking + test scripts
    • E2E测试配置和运行指南
    • 成长记录/能量系统/商品购买/签到奖励流程测试
    • 家庭成员管理/心愿兑换/规划师绑定流程测试
    • Playwright E2E 端到端流程测试套件 (8个核心业务流程)
    • 测评订单全流程集成测试
    • add dimension controller and energy sync tests
    • add service layer tests for ActivityAdminService, FoodService, NutritionDeficiencyService (36 tests)
    • add teacher/admin role tests for WishController, child/admin denial for guideBindFamily; add test report
    • add 7 role-boundary tests for GuideFamilyTaskController, extract TestRoles constants
    • fix 6 test files entity/DTO field mismatch
    • add 70 backend tests for 4 role types + fix 24 compilation errors
    • add cfc-frontend test suite (153 tests) + update test report
    • results:
    • 修补测试用例,全量204测试通过
    • s run: 204, Failures: 0, Errors: 0, Skipped: 0
    • 新增成长档案与测评模块测试报告
    • 新增成长规划师模块测试用例
    • 重构系统测试用例,分离API测试和Web浏览器测试

    样式

    • activity-detail 补充付费不退费 CSS 样式

    工程化

    • enable skip captcha for production admin
    • add .worktrees/ to .gitignore
    • add .worktrees/ to .gitignore
    • update goMoreActivities to navigate to /pages/activity/index
    • update cognitive recommendations data
    • remove scope-creep DimensionWeight files
    • 恢复.env.production VUE_APP_SKIP_CAPTCHA=false
    • add Microsoft Clarity analytics to web landing page
    • enable async and add dimension tables migration
    • add .codegraph/.gitignore
    • SUCCESS
    • remove .opencode from git tracking, add to gitignore
    • update danshop service and add backend utilities
    • update README, AGENTS.md and remove .env.development
    • 后端配置调整
    • 其他页面微调(assessment/games/membership/stats)
    • 剩余页面微调(custom-tab-bar/assessment/games/membership)
    • 其他页面微调(assessment/games/membership/stats)
    • rename ZxyjApplication → CfcApplication
    • update docs zxyj→cfc references
    • remove stale cfc_backend (underscore) directory and cfc-backend.tar
    • 更新商城与发现页初始化
    • 品牌名溪艾福/溪福俱乐部统一改为汐艾福/汐福俱乐部
    • 移除意外追踪的dev-browser子模块引用
    • remove .opencode from version control
    • add .opencode to .gitignore
    • 更新Web管理端依赖和API配置

    重构

    • 登录页左侧品牌区重新设计 — 五维能量轮盘
    • replace inline 推荐阅读 with DimensionArticles组件 on action/mind pages
    • 测评预约服务重构 + CreateWishDTO新增商品字段 + 支付服务扩展
    • 子包重组 - 详情页移至 *-detail 目录降低主包大小
    • 重构智页面布局并提取推荐阅读为共享组件
    • 重构菜单分组+权限体系
    • remove 智·认知 tab and add 传统文化 sections
    • 移除DAN等级相关字段
    • 数据库迁移DDL+seed, HealthReportController集成refreshFromGutReport, 前端7维字段修复
    • rewrite FamilyRelationGraph with View+Canvas hybrid layout
    • extract API base URL to config.js with multi-env support (.env.development/staging/production)
    • zxyj → cfc 全局重命名
    • Web管理端Layout重构和规划师模块完善
    • 实体模型更新及后端服务增强
    • 为所有44个Service类添加Interface规范
    • 优化控制器导入和用户相关功能

    文档

    • add login-left-panel and article-center design docs
    • add activity home page design and implementation plan
    • DimensionWeightPicker 重设计规格文档
    • 重写测试矩阵为用户故事方式(v2.0/120用例) + ISSUE-004/005/006根因分析文档
    • 完整E2E测试报告2026-07-01 + ISSUE-003修复验证 + ISSUE-004/005/006录入 + 测试用例矩阵更新
    • v2.2 IP形象融入五维能量色系
    • 更新问题追踪表 ISSUE-001/003 已解决
    • v2.1 浠宝→玄凤鹦鹉, 福宝→蓝白英短
    • 浠宝(鹦鹉)/福宝(猫) IP吉祥物形象设计书 v2
    • 同步e2e测试结果文件
    • 更新测试追踪报告 + ISSUE-003根因确认 (2026-06-30)
    • 添加测试追踪系统 + 多角色E2E测试报告 (2026-06-29)
    • 更新E2E测试报告 - 第三次验证
    • 更新管理后台发布E2E测试报告 - 第三次验证
    • 更新管理后台发布E2E测试报告 (2026-06-28) 同步测试
    • 添加智页面重构和组件提取实施计划
    • 更新管理后台发布E2E测试报告 (2026-06-28)
    • 重构幸福三支柱为三支柱→五维映射框架
    • 身强体健更名为身强
    • 升级幸福三支柱为五支柱,补充身和行
    • add incremental implementation plan for 7D health dimension system
    • 添加关系质量功能(第二层)实现计划
    • update health dimensions design spec - add product-dimension integration section
    • 更新百科词条-去技术章节改第三人称加参考资料
    • 新增亿图腾百科词条(运营文案)
    • add 7-dim health model refactor plan + design spec
    • 更新README和AGENTS,同步TabBar/端口/关系管理模块
    • add health-dimensions-phase1 design plan and resolve merge conflicts
    • add mini-program promotion design and implementation plan
    • add 智维度页面重设计方案 - wisdom dimension page redesign
    • 心版块第一阶段实现计划——核心体验闭环补齐+六大补充方向
    • P1 implementation plan
    • P1 nutritionist feature design spec
    • update AGENTS.md for cfclub branch (146 commits ahead)
    • 更新企业官网文案与 README
    • P0营养师核心功能实现计划(15 Tasks,5 Waves,档案视图+缺乏分析+可视化解读)
    • P0营养师核心功能设计方案(档案统一视图+缺乏分析+可视化解读)
    • 根据企业官网内容更新项目 README
    • add health nutrition gaps fix implementation plan (5 tasks)
    • add FamilyRelationGraph redesign spec and implementation plan
    • add 参考资料 directory with PDFs
    • add gut flora report schema fix implementation plan for dev engineer
    • add admin backend controller to meal recommendation implementation plan (Task 9)
    • add web permission system design docs
    • add precision nutrition implementation plan
    • add cfc-web refactor plan + test docs and fixes
    • add cfc-web E2E test fix plan
    • add DanShop order-fix plan
    • update project knowledge base (AGENTS.md) - cfclub branch info, critical config, TabBar 5-page structure, system patterns and anti-patterns
    • trim homepage plan — 9 tasks done by remote c1ade35, keep only Task 1
    • 添加文章与活动发布系统设计文档
    • add homepage risk fix plan — 10 issues across parent-index/child-index
    • add systems-analyst role definition for OpenCode
    • add family member cards design specs and plan
    • 文档归档整理 + 行远页新增重要关系维护设计
    • 新增财富健康设计文档和实现计划(记账打卡+保单管理+能量联动)
    • add plans, specs, analysis docs for energy system, article system, wuxing sandbox, subPackages
    • add article publishing system implementation plan
    • 文章设计文档增加浏览权限控制(public/login/private)
    • 新增文章内容发布系统设计文档
    • 更正五星布局,从最左侧顺时针木火土金水,顶为心
    • 新增五维五行哲学体系设计规范,更新能量设计文档对照
    • 更新公司及产品介绍文案(五维全景幸福矩阵)
    • 新增公司及产品介绍(身心情行富五大领域)
    • 品牌名统一为浠艾福(Care Family),重写README定位为家庭健康成长平台
    • 项目名称变更 知心益家→浠艾福,重写README
    • 小程序页面重设计划
    • add five-dimension energy system design spec and implementation plan
    • 添加登录前浏览体验实现计划(7个任务)
    • 添加登录前浏览体验设计规格(pre-login discovery)
    • 现状差异分析报告 + Phase 1 商品系统实现计划
    • 添加Phase 0实现计划文档
    • 添加溪福俱乐部(CFC)设计文档和Phase 0实现计划
    • 更新需求分析文档和设计文档
    • 更新项目文档和需求分析文档
    • 更新README项目结构和技术栈
    • update design docs and directory references
    • move system design docs under docs
    • move system test docs under docs
    • move requirements docs under docs
    • 梳理任务管理需求文档
    • 更新需求完成报告,反映V1.2当前实现状态

    性能优化

    • add async thread pool (core=8/max=16/queue=100) + start.sh with G1GC
    • combine dashboard 7-API calls into single POST /api/stats/dashboard
    • replace full Element UI import with selective imports
    • add 9 composite indexes via idempotent migration
    • add migration version table, skip migrations after first run
    • batch queries in EnergyService to eliminate N+1 patterns
    • configure HikariCP pool size 50, remove duplicate datasource config